@NBP-1482
@TEST_NBP-1401
@Automatizado
@2025Q1SP01
@TEST_NBP-1399
@TEST_NBP-1400
@TEST_NBP-1374
@TEST_NBP-1375
@TEST_NBP-1376
@TEST_NBP-1377
@TEST_NBP-1378
@TEST_NBP-1379
@TEST_NBP-1380
@TEST_NBP-1381
@TEST_NBP-1382
@TEST_NBP-1383
@TEST_NBP-1384
@TEST_NBP-1385
@TEST_NBP-1386
@TEST_NBP-1387
@TEST_NBP-1388
@TEST_NBP-1389
@TEST_NBP-1390
@TEST_NBP-1391
@TEST_NBP-1392
@TEST_NBP-1418
@TEST_NBP-1221
@TEST_NBP-1222
@TEST_NBP-1425
@TEST_NBP-1426
@TEST_NBP-1427
@TEST_NBP-1428
@TEST_NBP-1429
@TEST_NBP-1430
@TEST_NBP-1431
@TEST_NBP-1432
@TEST_NBP-1433
@TEST_NBP-1434
@TEST_NBP-1435
@TEST_NBP-1436
Feature: [NBP-80] – PAX A920 - Android 7.0 - Ciclo 2
File name: POS%20PAX-A920%20APP-COMERCIO.feature
Relative path: features/POS%20PAX-A920%20APP-COMERCIO.feature
@NBP-1482
@TEST_NBP-1401
@Automatizado
@2025Q1SP01
Scenario Outline: CP028 - Validar cerrar caja desde la vista Abrir/Cerrar caja (Caja)
Before
Hook
Given
que el usuario inició sesión exitosamente con sus credenciales "311224_vcca6@yopmail.com" y "777777777@Aa" con perfil "Vendedor Comercio"
And
tocó la opción "Caja" en el Menú de opciones
And
fue dirigido a la vista Caja
When
el usuario "311224_vcca6@yopmail.com" toque en el botón "Abrir/Cerrar caja"
Then
se deberá visualizar la previsualización de caja
When
el usuario toque el botón "Cerrar caja"
And
digite el monto de cierre "0"
And
confirme el cierre de caja
Then
se deberá cerrar se la caja satisfactoriamente y deberá ser redirigido a la vista "Caja"
After
Hook
After
Hook
@NBP-1482
@TEST_NBP-1401
@Automatizado
@2025Q1SP01
Scenario Outline: CP028 - Validar cerrar caja desde la vista Abrir/Cerrar caja (Caja)
Before
Hook
Given
que el usuario inició sesión exitosamente con sus credenciales "311224_vcca7@yopmail.com" y "777777777@Aa" con perfil "Vendedor Comercio"
And
tocó la opción "Caja" en el Menú de opciones
And
fue dirigido a la vista Caja
When
el usuario "311224_vcca7@yopmail.com" toque en el botón "Abrir/Cerrar caja"
Then
se deberá visualizar la previsualización de caja
When
el usuario toque el botón "Cerrar caja"
And
digite el monto de cierre "0"
And
confirme el cierre de caja
Then
se deberá cerrar se la caja satisfactoriamente y deberá ser redirigido a la vista "Caja"
After
Hook
After
Hook
@NBP-1482
@TEST_NBP-1399
@Automatizado
@2025Q1SP01
Scenario Outline: CP026 - Validar el pop-up que sale al querer generar movimientos cuando no se tiene una caja abierta
Before
Hook
Given
que el usuario inició sesión exitosamente con sus credenciales "311224_vcca6@yopmail.com" y "777777777@Aa" con perfil "Vendedor Comercio"
And
tocó la opción "Caja" en el Menú de opciones
And
fue dirigido a la vista Caja
When
el usuario toque en la opción "Movimientos de caja" sin una caja abierta
Then
se deberá visualizar un pop-up indicando que "Debe abrir caja primero"
After
Hook
After
Hook
@NBP-1482
@TEST_NBP-1399
@Automatizado
@2025Q1SP01
Scenario Outline: CP026 - Validar el pop-up que sale al querer generar movimientos cuando no se tiene una caja abierta
Before
Hook
Given
que el usuario inició sesión exitosamente con sus credenciales "311224_vcca7@yopmail.com" y "777777777@Aa" con perfil "Vendedor Comercio"
And
tocó la opción "Caja" en el Menú de opciones
And
fue dirigido a la vista Caja
When
el usuario toque en la opción "Movimientos de caja" sin una caja abierta
Then
se deberá visualizar un pop-up indicando que "Debe abrir caja primero"
After
Hook
After
Hook
@NBP-1482
@TEST_NBP-1400
@Automatizado
@2025Q1SP01
Scenario Outline: CP027 - Validar abrir caja desde la vista Cajas
Before
Hook
Given
que el usuario inició sesión exitosamente con sus credenciales "311224_vcca6@yopmail.com" y "777777777@Aa" con perfil "Vendedor Comercio"
And
tocó la opción "Caja" en el Menú de opciones
And
fue dirigido a la vista Caja
When
el usuario "311224_vcca6@yopmail.com" toque en el botón "Abrir/Cerrar caja"
Then
se deberá visualizar la lista de cajas Abiertas o Cerradas
When
el usuario toque una caja con estado "Abierto"
Then
no debería pasar nada
When
el usuario toque una caja con estado "Cerrado"
And
ingrese el monto de apertura "0"
And
toque el botón "Abrir caja" de la caja seleccionada
Then
se abrirá satisfactoriamente la caja siendo redirigido al Menú de opciones
After
Hook
After
Hook
@NBP-1482
@TEST_NBP-1400
@Automatizado
@2025Q1SP01
Scenario Outline: CP027 - Validar abrir caja desde la vista Cajas
Before
Hook
Given
que el usuario inició sesión exitosamente con sus credenciales "311224_vcca7@yopmail.com" y "777777777@Aa" con perfil "Vendedor Comercio"
And
tocó la opción "Caja" en el Menú de opciones
And
fue dirigido a la vista Caja
When
el usuario "311224_vcca7@yopmail.com" toque en el botón "Abrir/Cerrar caja"
Then
se deberá visualizar la lista de cajas Abiertas o Cerradas
When
el usuario toque una caja con estado "Abierto"
Then
no debería pasar nada
When
el usuario toque una caja con estado "Cerrado"
And
ingrese el monto de apertura "0"
And
toque el botón "Abrir caja" de la caja seleccionada
Then
se abrirá satisfactoriamente la caja siendo redirigido al Menú de opciones
After
Hook
After
Hook
@NBP-1482
@TEST_NBP-1374
@Automatizado
@2025Q1SP01
Scenario: CP001 - Validar los pop-up's para los campos email y password vacíos y el icono del ojo para ocultar y ver la contraseña de la vista Login
Before
Hook
Given
que el usuario está en la vista de Login
When
el usuario no completa los campos requeridos
Then
se visualizará un pop-up indicando "campo email obligatorio"
But
no permite acceder a la siguiente pantalla
When
el usuario ingrese el correo válido "130224_aci1@yopmail.com" y no ingrese la contraseña
Then
se visualizará un pop-up indicando "campo password obligatorio"
But
no permite acceder a la siguiente pantalla
When
el usuario llena el campo password con el texto "MENSAJE_VISIBLE"
Then
el mensaje "MENSAJE_VISIBLE" no será legible
When
toque en el icono del ojo para ver la contraseña
Then
se debería visualizar la contraseña "MENSAJE_VISIBLE"
After
Hook
After
Hook
@NBP-1482
@TEST_NBP-1375
@Automatizado
@2025Q1SP01
Scenario Outline: CP002 - Validar los pop-up's para credenciales incorrectas en la vista Login
Before
Hook
Given
que el usuario está en la vista de Login
When
el usuario ingresa un email de usuario "130224_aci1@yopmail.com" y una contraseña "777777777@Aa" con perfil "Admin Comercio"
Then
se muestra un mensaje de "Acceso no autorizado" indicando credenciales incorrectas
But
no permite acceder a la siguiente pantalla
After
Hook
After
Hook
@NBP-1482
@TEST_NBP-1375
@Automatizado
@2025Q1SP01
Scenario Outline: CP002 - Validar los pop-up's para credenciales incorrectas en la vista Login
Before
Hook
Given
que el usuario está en la vista de Login
When
el usuario ingresa un email de usuario "130224_acc1@yopmail.com" y una contraseña "777777777@Aa" con perfil "Admin Comercio"
Then
se muestra un mensaje de "Acceso no autorizado" indicando credenciales incorrectas
But
no permite acceder a la siguiente pantalla
After
Hook
After
Hook
@NBP-1482
@TEST_NBP-1375
@Automatizado
@2025Q1SP01
Scenario Outline: CP002 - Validar los pop-up's para credenciales incorrectas en la vista Login
Before
Hook
Given
que el usuario está en la vista de Login
When
el usuario ingresa un email de usuario "090124_vr1@yopmail.com" y una contraseña "666666667@Aa" con perfil "Vendedor Restaurante"
Then
se muestra un mensaje de "Tipo de comercio no valido." indicando credenciales incorrectas
But
no permite acceder a la siguiente pantalla
After
Hook
After
Hook
@NBP-1482
@TEST_NBP-1375
@Automatizado
@2025Q1SP01
Scenario Outline: CP002 - Validar los pop-up's para credenciales incorrectas en la vista Login
Before
Hook
Given
que el usuario está en la vista de Login
When
el usuario ingresa un email de usuario "311224_vcia6@yopmail.com" y una contraseña "clavemala@Aa" con perfil "Vendedor Comercio"
Then
se muestra un mensaje de "Credenciales incorrectas." indicando credenciales incorrectas
But
no permite acceder a la siguiente pantalla
After
Hook
After
Hook
@NBP-1482
@TEST_NBP-1376
@Automatizado
@2025Q1SP01
Scenario: CP003 - Validar el pop-up de correo inválido en la vista Restablecer contraseña
Before
Hook
Given
que el usuario quiere restablecer su contraseña con un correo inválido
And
toca en ¿olvidaste tu contraseña? de la vista Login
When
el usuario no ingresa un email
And
toca el botón enviar
Then
se muestra un pop-up indicando que "Debe ingresar un email válido."
When
el usuario ingresa el email "130224_vcc1"
And
toca el botón enviar
Then
se muestra un pop-up indicando que "Debe ingresar un email válido."
After
Hook
After
Hook
@NBP-1482
@TEST_NBP-1377
@Automatizado
@2025Q1SP01
Scenario: CP004 - Validar la vista Restablecer contraseña
Before
Hook
Given
que el usuario está en la pantalla de login y quiere restablecer su contraseña
And
toca en ¿olvidaste tu contraseña? de la vista Login
When
el usuario ingresa el email "bryan_vr1@yopmail.com"
And
toca en el botón Enviar en la vista "Restablecer contraseña"
Then
se visualizará el mensaje de confirmacion de correo enviado
After
Hook
After
Hook
@NBP-1482
@TEST_NBP-1378
@Automatizado
@2025Q1SP01
Scenario Outline: CP005 - Validar la vista del Menú de opciones del Plan Inicia
Before
Hook
Given
que el usuario está en la vista de Login
When
el usuario ingresa un email de usuario "311224_vcia6@yopmail.com" y una contraseña "777777777@Aa" correctos
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for visibility of Located by By.chained({By.id: profile}) (tried for 15 second(s) with 500 milliseconds interval)
at org.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:95)
at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:272)
at com.nttdata.ct.mobile.base.methods.CommonsActionsDom.waitUntilElementIsVisible(CommonsActionsDom.java:117)
at com.nttdata.ct.mobile.view.MenuDeOpcionesScreen.getIcono(MenuDeOpcionesScreen.java:47)
at com.nttdata.ct.mobile.step.MenuDeOpcionesSteps.validarVisualizarLogosyEIconoUsuarioEnVistaMenu(MenuDeOpcionesSteps.java:16)
at com.nttdata.ct.mobile.glue.MenuDeOpcionesSD.elUsuarioEsRedirigidoAlMenúDeOpciones(MenuDeOpcionesSD.java:20)
at ✽.el usuario es redirigido al Menú de opciones(file:///C:/Users/bfloresg/OneDrive%20-%20NTT%20DATA%20EMEAL/Documents/PROYECTOS/NIUBIZ/POS%20COMERCIO/vas-mobile-automation-testing/NIUBIZ_POINT_APP_COMERCIO_POS/src/test/resources/features/POS%20PAX-A920%20APP-COMERCIO.feature:104)
Caused by: org.openqa.selenium.NoSuchElementException: Can't locate an element by this strategy: By.chained({By.id: profile})
at io.appium.java_client.pagefactory.AppiumElementLocator.findElement(AppiumElementLocator.java:126)
at io.appium.java_client.pagefactory.interceptors.InterceptorOfASingleElement.intercept(InterceptorOfASingleElement.java:59)
at io.appium.java_client.android.AndroidElement$$EnhancerByCGLIB$$b598166c.isDisplayed((generated))
at org.openqa.selenium.support.ui.ExpectedConditions.elementIfVisible(ExpectedConditions.java:314)
at org.openqa.selenium.support.ui.ExpectedConditions.access$000(ExpectedConditions.java:43)
at org.openqa.selenium.support.ui.ExpectedConditions$10.apply(ExpectedConditions.java:300)
at org.openqa.selenium.support.ui.ExpectedConditions$10.apply(ExpectedConditions.java:297)
at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:249)
at com.nttdata.ct.mobile.base.methods.CommonsActionsDom.waitUntilElementIsVisible(CommonsActionsDom.java:117)
at com.nttdata.ct.mobile.view.MenuDeOpcionesScreen.getIcono(MenuDeOpcionesScreen.java:47)
at com.nttdata.ct.mobile.step.MenuDeOpcionesSteps.validarVisualizarLogosyEIconoUsuarioEnVistaMenu(MenuDeOpcionesSteps.java:16)
at com.nttdata.ct.mobile.glue.MenuDeOpcionesSD.elUsuarioEsRedirigidoAlMenúDeOpciones(MenuDeOpcionesSD.java:20)
at com.nttdata.ct.mobile.glue.MenuDeOpcionesSD$$FastClassBySpringCGLIB$$bee39a8c.invoke((generated))
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:779)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:64)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:692)
at com.nttdata.ct.mobile.glue.MenuDeOpcionesSD$$EnhancerBySpringCGLIB$$61426be0.elUsuarioEsRedirigidoAlMenúDeOpciones((generated))
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at io.cucumber.java.Invoker.doInvoke(Invoker.java:66)
at io.cucumber.java.Invoker.invoke(Invoker.java:24)
at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47)
at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29)
at io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66)
at io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63)
at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10)
at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:86)
at io.cucumber.core.runner.TestStep.run(TestStep.java:57)
at io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51)
at io.cucumber.core.runner.TestCase.run(TestCase.java:95)
at io.cucumber.core.runner.Runner.runPickle(Runner.java:75)
at io.cucumber.junit.PickleRunners$WithStepDescriptions.lambda$run$1(PickleRunners.java:109)
at io.cucumber.core.runtime.CucumberExecutionContext.lambda$runTestCase$3(CucumberExecutionContext.java:151)
at io.cucumber.core.runtime.RethrowingThrowableCollector.executeAndThrow(RethrowingThrowableCollector.java:23)
at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:151)
at io.cucumber.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:106)
at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:144)
at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:28)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at io.cucumber.junit.FeatureRunner.run(FeatureRunner.java:137)
at io.cucumber.junit.Cucumber.runChild(Cucumber.java:196)
at io.cucumber.junit.Cucumber.runChild(Cucumber.java:89)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at io.cucumber.junit.Cucumber$RunBeforeAllHooks.evaluate(Cucumber.java:266)
at io.cucumber.junit.Cucumber$RunAfterAllHooks.evaluate(Cucumber.java:281)
at io.cucumber.junit.Cucumber$StartTestRun.evaluate(Cucumber.java:233)
at io.cucumber.junit.Cucumber$FinishTestRun.evaluate(Cucumber.java:248)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69)
at com.intellij.rt.junit.IdeaTestRunner$Repeater$1.execute(IdeaTestRunner.java:38)
at com.intellij.rt.execution.junit.TestsRepeater.repeat(TestsRepeater.java:11)
at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:35)
at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:232)
at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:55)
Caused by: org.openqa.selenium.TimeoutException: Expected condition failed: waiting for io.appium.java_client.pagefactory.AppiumElementLocator$WaitingFunction@31881213 (tried for 1 second(s) with 500 milliseconds interval)
at org.openqa.selenium.support.ui.FluentWait.timeoutException(FluentWait.java:304)
at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:272)
at io.appium.java_client.pagefactory.AppiumElementLocator.waitFor(AppiumElementLocator.java:99)
at io.appium.java_client.pagefactory.AppiumElementLocator.findElement(AppiumElementLocator.java:119)
... 77 more
Caused by: org.openqa.selenium.NoSuchElementException: Cannot locate an element using By.chained({By.id: profile})
For documentation on this error, please visit: https://www.seleniumhq.org/exceptions/no_such_element.html
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
System info: host: 'NTTD-JFLJMN3', ip: '192.168.0.151', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '11.0.24'
Driver info: driver.version: AndroidDriver
at io.appium.java_client.pagefactory.bys.builder.ByChained.findElement(ByChained.java:74)
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:315)
at io.appium.java_client.DefaultGenericMobileDriver.findElement(DefaultGenericMobileDriver.java:57)
at io.appium.java_client.AppiumDriver.findElement(AppiumDriver.java:1)
at io.appium.java_client.android.AndroidDriver.findElement(AndroidDriver.java:1)
at io.appium.java_client.pagefactory.bys.ContentMappedBy.findElement(ContentMappedBy.java:50)
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:315)
at io.appium.java_client.DefaultGenericMobileDriver.findElement(DefaultGenericMobileDriver.java:57)
at io.appium.java_client.AppiumDriver.findElement(AppiumDriver.java:1)
at io.appium.java_client.android.AndroidDriver.findElement(AndroidDriver.java:1)
at io.appium.java_client.pagefactory.AppiumElementLocator.lambda$0(AppiumElementLocator.java:120)
at io.appium.java_client.pagefactory.AppiumElementLocator$WaitingFunction.apply(AppiumElementLocator.java:172)
at io.appium.java_client.pagefactory.AppiumElementLocator$WaitingFunction.apply(AppiumElementLocator.java:1)
at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:249)
... 79 more
And
se visualizará el nombre del Vendedor "Vendedor Inicia Auto 6" junto a un saludo
And
se visualizará la opción "Ventas"
And
se visualizará la opción "Reportes"
And
se visualizará la opción "Configuración"
And
se visualizará la opción "Soporte"
And
se visualizará el icono de usuario color azul
After
Hook
@NBP-1482
@TEST_NBP-1378
@Automatizado
@2025Q1SP01
Scenario Outline: CP005 - Validar la vista del Menú de opciones del Plan Inicia
Before
Hook
Given
que el usuario está en la vista de Login
When
el usuario ingresa un email de usuario "311224_vcia7@yopmail.com" y una contraseña "777777777@Aa" correctos
Then
el usuario es redirigido al Menú de opciones
org.junit.ComparisonFailure: expected:(...Vendedor Inicia Auto[]7) but was:(...Vendedor Inicia Auto[ ]7) at org.junit.Assert.assertEquals(Assert.java:117) at org.junit.Assert.assertEquals(Assert.java:146) at com.nttdata.ct.mobile.step.MenuDeOpcionesSteps.validarVisualizarElSaludo(MenuDeOpcionesSteps.java:22) at com.nttdata.ct.mobile.glue.MenuDeOpcionesSD.seVisualizaráElNombreDelVendedorJuntoAUnSaludo(MenuDeOpcionesSD.java:25) at ✽.se visualizará el nombre del Vendedor "Vendedor Inicia Auto 7" junto a un saludo(file:///C:/Users/bfloresg/OneDrive%20-%20NTT%20DATA%20EMEAL/Documents/PROYECTOS/NIUBIZ/POS%20COMERCIO/vas-mobile-automation-testing/NIUBIZ_POINT_APP_COMERCIO_POS/src/test/resources/features/POS%20PAX-A920%20APP-COMERCIO.feature:105)
And
se visualizará la opción "Ventas"
And
se visualizará la opción "Reportes"
And
se visualizará la opción "Configuración"
And
se visualizará la opción "Soporte"
And
se visualizará el icono de usuario color azul
After
Hook
@NBP-1482
@TEST_NBP-1379
@Automatizado
@2025Q1SP01
Scenario Outline: CP006 - Validar la vista del Menú de opciones del Plan Crece
Before
Hook
Given
que el usuario está en la vista de Login
When
el usuario ingresa un email de usuario "311224_vcca6@yopmail.com" y una contraseña "777777777@Aa" con perfil "Vendedor Comercio"
Then
el usuario es redirigido al Menú de opciones
And
se visualizará el nombre del Vendedor "Vendedor Crece Auto 6" junto a un saludo
And
se visualizará la opción "Ventas"
And
se visualizará la opción "Caja"
And
se visualizará la opción "Reportes"
And
se visualizará la opción "Almacén"
And
se visualizará la opción "Configuración"
And
se visualizará la opción "Soporte"
And
se visualizará el icono de usuario color azul
After
Hook
After
Hook
@NBP-1482
@TEST_NBP-1379
@Automatizado
@2025Q1SP01
Scenario Outline: CP006 - Validar la vista del Menú de opciones del Plan Crece
Before
Hook
Given
que el usuario está en la vista de Login
When
el usuario ingresa un email de usuario "311224_vcca7@yopmail.com" y una contraseña "777777777@Aa" con perfil "Vendedor Comercio"
Then
el usuario es redirigido al Menú de opciones
org.junit.ComparisonFailure: expected:(... Vendedor Crece Auto[]7) but was:(... Vendedor Crece Auto[ ]7) at org.junit.Assert.assertEquals(Assert.java:117) at org.junit.Assert.assertEquals(Assert.java:146) at com.nttdata.ct.mobile.step.MenuDeOpcionesSteps.validarVisualizarElSaludo(MenuDeOpcionesSteps.java:22) at com.nttdata.ct.mobile.glue.MenuDeOpcionesSD.seVisualizaráElNombreDelVendedorJuntoAUnSaludo(MenuDeOpcionesSD.java:25) at ✽.se visualizará el nombre del Vendedor "Vendedor Crece Auto 7" junto a un saludo(file:///C:/Users/bfloresg/OneDrive%20-%20NTT%20DATA%20EMEAL/Documents/PROYECTOS/NIUBIZ/POS%20COMERCIO/vas-mobile-automation-testing/NIUBIZ_POINT_APP_COMERCIO_POS/src/test/resources/features/POS%20PAX-A920%20APP-COMERCIO.feature:122)
And
se visualizará la opción "Ventas"
And
se visualizará la opción "Caja"
And
se visualizará la opción "Reportes"
And
se visualizará la opción "Almacén"
And
se visualizará la opción "Configuración"
And
se visualizará la opción "Soporte"
And
se visualizará el icono de usuario color azul
After
Hook
@NBP-1482
@TEST_NBP-1380
@Automatizado
@2025Q1SP01
Scenario Outline: CP007 - Validar la vista Perfil para usuarios de sedes distintas
Before
Hook
Given
el usuario ingresa un email de usuario "311224_vcia6@yopmail.com" y una contraseña "777777777@Aa" con perfil "Vendedor Comercio"
And
es redirigido al Menú de opciones
When
el usuario toca el icono de usuario color azul
And
es redirigido a la vista del perfil de usuario
Then
se visualizarán los datos del usuario "Vendedor Inicia Auto 6", "311224_vcia6@yopmail.com", "000000000" y "Sede 1"
And
se visualizará el botón Cerrar sesión
After
Hook
After
Hook
@NBP-1482
@TEST_NBP-1380
@Automatizado
@2025Q1SP01
Scenario Outline: CP007 - Validar la vista Perfil para usuarios de sedes distintas
Before
Hook
Given
el usuario ingresa un email de usuario "311224_vcia7@yopmail.com" y una contraseña "777777777@Aa" con perfil "Vendedor Comercio"
And
es redirigido al Menú de opciones
When
el usuario toca el icono de usuario color azul
And
es redirigido a la vista del perfil de usuario
Then
se visualizarán los datos del usuario "Vendedor Inicia Auto 7", "311224_vcia7@yopmail.com", "000000000" y "Sede 2"
+ Show Error
org.junit.ComparisonFailure: expected:(Vendedor Inicia Auto[]7) but was:(Vendedor Inicia Auto[ ]7) at org.junit.Assert.assertEquals(Assert.java:117) at org.junit.Assert.assertEquals(Assert.java:146) at com.nttdata.ct.mobile.step.PerfilSteps.validarVisualizarDatosDeUsuario(PerfilSteps.java:23) at com.nttdata.ct.mobile.glue.PerfilSD.seVisualizaránLosDatosDelUsuarioY(PerfilSD.java:20) at ✽.se visualizarán los datos del usuario "Vendedor Inicia Auto 7", "311224_vcia7@yopmail.com", "000000000" y "Sede 2"(file:///C:/Users/bfloresg/OneDrive%20-%20NTT%20DATA%20EMEAL/Documents/PROYECTOS/NIUBIZ/POS%20COMERCIO/vas-mobile-automation-testing/NIUBIZ_POINT_APP_COMERCIO_POS/src/test/resources/features/POS%20PAX-A920%20APP-COMERCIO.feature:142)
And
se visualizará el botón Cerrar sesión
After
Hook
@NBP-1482
@TEST_NBP-1380
@Automatizado
@2025Q1SP01
Scenario Outline: CP007 - Validar la vista Perfil para usuarios de sedes distintas
Before
Hook
Given
el usuario ingresa un email de usuario "311224_vcca6@yopmail.com" y una contraseña "777777777@Aa" con perfil "Vendedor Comercio"
And
es redirigido al Menú de opciones
When
el usuario toca el icono de usuario color azul
And
es redirigido a la vista del perfil de usuario
Then
se visualizarán los datos del usuario "Vendedor Crece Auto 6", "311224_vcca6@yopmail.com", "000000000" y "Sede 1"
And
se visualizará el botón Cerrar sesión
After
Hook
After
Hook
@NBP-1482
@TEST_NBP-1380
@Automatizado
@2025Q1SP01
Scenario Outline: CP007 - Validar la vista Perfil para usuarios de sedes distintas
Before
Hook
Given
el usuario ingresa un email de usuario "311224_vcca7@yopmail.com" y una contraseña "777777777@Aa" con perfil "Vendedor Comercio"
And
es redirigido al Menú de opciones
When
el usuario toca el icono de usuario color azul
And
es redirigido a la vista del perfil de usuario
Then
se visualizarán los datos del usuario "Vendedor Crece Auto 7", "311224_vcca7@yopmail.com", "000000000" y "Sede 2"
+ Show Error
org.junit.ComparisonFailure: expected:(Vendedor Crece Auto[]7) but was:(Vendedor Crece Auto[ ]7) at org.junit.Assert.assertEquals(Assert.java:117) at org.junit.Assert.assertEquals(Assert.java:146) at com.nttdata.ct.mobile.step.PerfilSteps.validarVisualizarDatosDeUsuario(PerfilSteps.java:23) at com.nttdata.ct.mobile.glue.PerfilSD.seVisualizaránLosDatosDelUsuarioY(PerfilSD.java:20) at ✽.se visualizarán los datos del usuario "Vendedor Crece Auto 7", "311224_vcca7@yopmail.com", "000000000" y "Sede 2"(file:///C:/Users/bfloresg/OneDrive%20-%20NTT%20DATA%20EMEAL/Documents/PROYECTOS/NIUBIZ/POS%20COMERCIO/vas-mobile-automation-testing/NIUBIZ_POINT_APP_COMERCIO_POS/src/test/resources/features/POS%20PAX-A920%20APP-COMERCIO.feature:142)
And
se visualizará el botón Cerrar sesión
After
Hook
@NBP-1482
@TEST_NBP-1381
@Automatizado
@2025Q1SP01
Scenario Outline: CP008 - Validar cerrar sesión en la vista Perfil de usuario
Before
Hook
Given
que el usuario inició sesión exitosamente con sus credenciales "311224_vcia6@yopmail.com" y "777777777@Aa" con perfil "Vendedor Comercio"
And
se encuentra en la vista del Menú de opciones
When
el usuario toca el icono de usuario color azul
And
es redirigido a la vista del perfil de usuario
And
toca el botón Cerrar sesión
Then
se cierra la sesión y el usuario debería regresar a la vista de Login
After
Hook
After
Hook
@NBP-1482
@TEST_NBP-1381
@Automatizado
@2025Q1SP01
Scenario Outline: CP008 - Validar cerrar sesión en la vista Perfil de usuario
Before
Hook
Given
que el usuario inició sesión exitosamente con sus credenciales "311224_vcia7@yopmail.com" y "777777777@Aa" con perfil "Vendedor Comercio"
And
se encuentra en la vista del Menú de opciones
When
el usuario toca el icono de usuario color azul
And
es redirigido a la vista del perfil de usuario
And
toca el botón Cerrar sesión
Then
se cierra la sesión y el usuario debería regresar a la vista de Login
After
Hook
After
Hook
@NBP-1482
@TEST_NBP-1381
@Automatizado
@2025Q1SP01
Scenario Outline: CP008 - Validar cerrar sesión en la vista Perfil de usuario
Before
Hook
Given
que el usuario inició sesión exitosamente con sus credenciales "311224_vcca6@yopmail.com" y "777777777@Aa" con perfil "Vendedor Comercio"
And
se encuentra en la vista del Menú de opciones
When
el usuario toca el icono de usuario color azul
And
es redirigido a la vista del perfil de usuario
And
toca el botón Cerrar sesión
Then
se cierra la sesión y el usuario debería regresar a la vista de Login
After
Hook
After
Hook
@NBP-1482
@TEST_NBP-1381
@Automatizado
@2025Q1SP01
Scenario Outline: CP008 - Validar cerrar sesión en la vista Perfil de usuario
Before
Hook
Given
que el usuario inició sesión exitosamente con sus credenciales "311224_vcca7@yopmail.com" y "777777777@Aa" con perfil "Vendedor Comercio"
And
se encuentra en la vista del Menú de opciones
When
el usuario toca el icono de usuario color azul
And
es redirigido a la vista del perfil de usuario
And
toca el botón Cerrar sesión
Then
se cierra la sesión y el usuario debería regresar a la vista de Login
After
Hook
After
Hook
@NBP-1482
@TEST_NBP-1382
@Automatizado
@2025Q1SP01
Scenario Outline: CP009 - Validar la vista Productos y Categorías de una venta rápida
Before
Hook
Given
que el usuario inició sesión exitosamente con sus credenciales "311224_vcia6@yopmail.com" y "777777777@Aa" con perfil "Vendedor Comercio"
And
tocó la opción "Ventas" en el Menú de opciones
And
fue redirigido a la vista "Venta rápida"
Then
se visualizará el título "Venta rápida"
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for visibility of element located by By.id: imgProduct (tried for 15 second(s) with 500 milliseconds interval)
at org.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:95)
at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:272)
at com.nttdata.ct.mobile.view.ProductosScreen.contarProductosMostrados(ProductosScreen.java:113)
at com.nttdata.ct.mobile.step.ProductosSteps.validarVisualizarProductosEnLaVistaProductos(ProductosSteps.java:47)
at com.nttdata.ct.mobile.glue.VentaRapidaSD.seVisualizaráAlMenosUnProductoEnLaCategoría(VentaRapidaSD.java:96)
at ✽.se visualizará al menos un producto en la categoría(file:///C:/Users/bfloresg/OneDrive%20-%20NTT%20DATA%20EMEAL/Documents/PROYECTOS/NIUBIZ/POS%20COMERCIO/vas-mobile-automation-testing/NIUBIZ_POINT_APP_COMERCIO_POS/src/test/resources/features/POS%20PAX-A920%20APP-COMERCIO.feature:174)
Caused by: org.openqa.selenium.NoSuchElementException: An element could not be located on the page using the given search parameters.
For documentation on this error, please visit: https://www.seleniumhq.org/exceptions/no_such_element.html
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
System info: host: 'NTTD-JFLJMN3', ip: '192.168.0.151', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '11.0.24'
Driver info: io.appium.java_client.android.AndroidDriver
Capabilities {app: C:\Users\bfloresg\OneDrive ..., appActivity: com.startapps.kipu_pos_reta..., appPackage: com.startapps.kipu_pos_reta..., autoGrantPermissions: true, automationName: UiAutomator2, databaseEnabled: false, desired: {app: C:\Users\bfloresg\OneDrive ..., appActivity: com.startapps.kipu_pos_reta..., appPackage: com.startapps.kipu_pos_reta..., autoGrantPermissions: true, automationName: UiAutomator2, noSign: true, platformName: android}, deviceApiLevel: 25, deviceManufacturer: PAX, deviceModel: A920, deviceName: 0821415971, deviceScreenDensity: 320, deviceScreenSize: 720x1280, deviceUDID: 0821415971, javascriptEnabled: true, locationContextEnabled: false, networkConnectionEnabled: true, noSign: true, pixelRatio: 2, platform: LINUX, platformName: Android, platformVersion: 7.1.2, statBarHeight: 48, takesScreenshot: true, viewportRect: {height: 1136, left: 0, top: 48, width: 720}, warnings: {}, webStorageEnabled: false}
Session ID: f9541750-f29c-4f1c-a376-388ae49ac575
*** Element info: {Using=id, value=imgProduct}
at jdk.internal.reflect.GeneratedConstructorAccessor34.newInstance(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:187)
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:122)
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)
at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:250)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)
at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:41)
at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1)
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:323)
at io.appium.java_client.DefaultGenericMobileDriver.findElement(DefaultGenericMobileDriver.java:61)
at io.appium.java_client.AppiumDriver.findElement(AppiumDriver.java:1)
at io.appium.java_client.android.AndroidDriver.findElement(AndroidDriver.java:1)
at org.openqa.selenium.remote.RemoteWebDriver.findElementById(RemoteWebDriver.java:372)
at io.appium.java_client.DefaultGenericMobileDriver.findElementById(DefaultGenericMobileDriver.java:69)
at io.appium.java_client.AppiumDriver.findElementById(AppiumDriver.java:1)
at io.appium.java_client.android.AndroidDriver.findElementById(AndroidDriver.java:1)
at org.openqa.selenium.By$ById.findElement(By.java:188)
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:315)
at io.appium.java_client.DefaultGenericMobileDriver.findElement(DefaultGenericMobileDriver.java:57)
at io.appium.java_client.AppiumDriver.findElement(AppiumDriver.java:1)
at io.appium.java_client.android.AndroidDriver.findElement(AndroidDriver.java:1)
at org.openqa.selenium.support.ui.ExpectedConditions$7.apply(ExpectedConditions.java:205)
at org.openqa.selenium.support.ui.ExpectedConditions$7.apply(ExpectedConditions.java:201)
at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:249)
at com.nttdata.ct.mobile.view.ProductosScreen.contarProductosMostrados(ProductosScreen.java:113)
at com.nttdata.ct.mobile.step.ProductosSteps.validarVisualizarProductosEnLaVistaProductos(ProductosSteps.java:47)
at com.nttdata.ct.mobile.glue.VentaRapidaSD.seVisualizaráAlMenosUnProductoEnLaCategoría(VentaRapidaSD.java:96)
at com.nttdata.ct.mobile.glue.VentaRapidaSD$$FastClassBySpringCGLIB$$8a136e3b.invoke((generated))
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:779)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:64)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:692)
at com.nttdata.ct.mobile.glue.VentaRapidaSD$$EnhancerBySpringCGLIB$$51202c4d.seVisualizaráAlMenosUnProductoEnLaCategoría((generated))
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at io.cucumber.java.Invoker.doInvoke(Invoker.java:66)
at io.cucumber.java.Invoker.invoke(Invoker.java:24)
at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47)
at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29)
at io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66)
at io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63)
at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10)
at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:86)
at io.cucumber.core.runner.TestStep.run(TestStep.java:57)
at io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51)
at io.cucumber.core.runner.TestCase.run(TestCase.java:95)
at io.cucumber.core.runner.Runner.runPickle(Runner.java:75)
at io.cucumber.junit.PickleRunners$WithStepDescriptions.lambda$run$1(PickleRunners.java:109)
at io.cucumber.core.runtime.CucumberExecutionContext.lambda$runTestCase$3(CucumberExecutionContext.java:151)
at io.cucumber.core.runtime.RethrowingThrowableCollector.executeAndThrow(RethrowingThrowableCollector.java:23)
at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:151)
at io.cucumber.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:106)
at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:144)
at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:28)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at io.cucumber.junit.FeatureRunner.run(FeatureRunner.java:137)
at io.cucumber.junit.Cucumber.runChild(Cucumber.java:196)
at io.cucumber.junit.Cucumber.runChild(Cucumber.java:89)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at io.cucumber.junit.Cucumber$RunBeforeAllHooks.evaluate(Cucumber.java:266)
at io.cucumber.junit.Cucumber$RunAfterAllHooks.evaluate(Cucumber.java:281)
at io.cucumber.junit.Cucumber$StartTestRun.evaluate(Cucumber.java:233)
at io.cucumber.junit.Cucumber$FinishTestRun.evaluate(Cucumber.java:248)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69)
at com.intellij.rt.junit.IdeaTestRunner$Repeater$1.execute(IdeaTestRunner.java:38)
at com.intellij.rt.execution.junit.TestsRepeater.repeat(TestsRepeater.java:11)
at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:35)
at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:232)
at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:55)
And
se visualizará el icono lupa
And
se visualizará el icono Escanner
And
se visualizará el icono Carrito
And
se visualizará el botón Realizar pedido desactivado
After
Hook
@NBP-1482
@TEST_NBP-1382
@Automatizado
@2025Q1SP01
Scenario Outline: CP009 - Validar la vista Productos y Categorías de una venta rápida
Before
Hook
Given
que el usuario inició sesión exitosamente con sus credenciales "311224_vcia7@yopmail.com" y "777777777@Aa" con perfil "Vendedor Comercio"
And
tocó la opción "Ventas" en el Menú de opciones
And
fue redirigido a la vista "Venta rápida"
Then
se visualizará el título "Venta rápida"
And
se visualizará al menos un producto en la categoría
And
se visualizará el icono lupa
And
se visualizará el icono Escanner
And
se visualizará el icono Carrito
And
se visualizará el botón Realizar pedido desactivado
After
Hook
After
Hook
@NBP-1482
@TEST_NBP-1382
@Automatizado
@2025Q1SP01
Scenario Outline: CP009 - Validar la vista Productos y Categorías de una venta rápida
Before
Hook
Given
que el usuario inició sesión exitosamente con sus credenciales "311224_vcca6@yopmail.com" y "777777777@Aa" con perfil "Vendedor Comercio"
And
tocó la opción "Ventas" en el Menú de opciones
And
fue redirigido a la vista "Venta rápida"
Then
se visualizará el título "Venta rápida"
And
se visualizará al menos un producto en la categoría
And
se visualizará el icono lupa
And
se visualizará el icono Escanner
And
se visualizará el icono Carrito
And
se visualizará el botón Realizar pedido desactivado
After
Hook
After
Hook
@NBP-1482
@TEST_NBP-1382
@Automatizado
@2025Q1SP01
Scenario Outline: CP009 - Validar la vista Productos y Categorías de una venta rápida
Before
Hook
Given
que el usuario inició sesión exitosamente con sus credenciales "311224_vcca7@yopmail.com" y "777777777@Aa" con perfil "Vendedor Comercio"
And
tocó la opción "Ventas" en el Menú de opciones
And
fue redirigido a la vista "Venta rápida"
Then
se visualizará el título "Venta rápida"
And
se visualizará al menos un producto en la categoría
And
se visualizará el icono lupa
And
se visualizará el icono Escanner
And
se visualizará el icono Carrito
And
se visualizará el botón Realizar pedido desactivado
After
Hook
After
Hook
@NBP-1482
@TEST_NBP-1383
@Automatizado
@2025Q1SP01
Scenario Outline: CP010 - Validar agregar productos directamente al carrito en la vista de Productos y categorías
Before
Hook
Given
que el usuario inició sesión exitosamente con sus credenciales "311224_vcia6@yopmail.com" y "777777777@Aa" con perfil "Vendedor Comercio"
And
tocó la opción "Ventas" en el Menú de opciones
And
fue redirigido a la vista "Venta rápida"
When
el usuario haga un scroll horizontal y seleccione la categoría "Limpieza"
And
el usuario toca el producto ("A - Limpia Vidrios Sapolio…") sin personalizaciones ni extras un número de veces ("2")
Then
la cantidad ("2") y el nombre del producto ("A - Limpia Vidrios Sapolio…") agregado debería coincidir con lo mostrado en la vista "Resumen"
After
Hook
After
Hook
@NBP-1482
@TEST_NBP-1383
@Automatizado
@2025Q1SP01
Scenario Outline: CP010 - Validar agregar productos directamente al carrito en la vista de Productos y categorías
Before
Hook
Given
que el usuario inició sesión exitosamente con sus credenciales "311224_vcca6@yopmail.com" y "777777777@Aa" con perfil "Vendedor Comercio"
And
tocó la opción "Ventas" en el Menú de opciones
And
fue redirigido a la vista "Venta rápida"
When
el usuario haga un scroll horizontal y seleccione la categoría "DECORACIONES NAVIDEÑAS"
And
el usuario toca el producto ("A - Bolas para árbol") sin personalizaciones ni extras un número de veces ("4")
Then
la cantidad ("4") y el nombre del producto ("A - Bolas para árbol") agregado debería coincidir con lo mostrado en la vista "Resumen"
After
Hook
After
Hook
@NBP-1482
@TEST_NBP-1384
@Automatizado
@2025Q1SP01
Scenario Outline: CP011 - Validar el funcionamiento del buscador en la vista de Productos y categorías
Before
Hook
Given
que el usuario inició sesión exitosamente con sus credenciales "311224_vcia6@yopmail.com" y "777777777@Aa" con perfil "Vendedor Comercio"
And
tocó la opción "Ventas" en el Menú de opciones
And
fue redirigido a la vista "Venta rápida"
When
el usuario toca la lupa
Then
se visualizará el buscador "Buscar producto"
And
se visualizará una flecha atrás
And
se visualizará el icono del carrito de compras
And
se visualizará el botón "Realizar pedido" desactivado
When
el usuario toque la barra de búsqueda y escriba "A -"
And
toque el botón enviar o enter del teclado en pantalla
Then
se deberá ocultar el teclado y mostrarse el botón "Realizar pedido"
And
se deberá visualizar los productos que empiecen con "A -"
And
se deberá visualizar sus respectivas fotos y precios
After
Hook
After
Hook
@NBP-1482
@TEST_NBP-1384
@Automatizado
@2025Q1SP01
Scenario Outline: CP011 - Validar el funcionamiento del buscador en la vista de Productos y categorías
Before
Hook
Given
que el usuario inició sesión exitosamente con sus credenciales "311224_vcca6@yopmail.com" y "777777777@Aa" con perfil "Vendedor Comercio"
And
tocó la opción "Ventas" en el Menú de opciones
And
fue redirigido a la vista "Venta rápida"
When
el usuario toca la lupa
Then
se visualizará el buscador "Buscar producto"
And
se visualizará una flecha atrás
And
se visualizará el icono del carrito de compras
And
se visualizará el botón "Realizar pedido" desactivado
When
el usuario toque la barra de búsqueda y escriba "A -"
And
toque el botón enviar o enter del teclado en pantalla
Then
se deberá ocultar el teclado y mostrarse el botón "Realizar pedido"
And
se deberá visualizar los productos que empiecen con "A -"
And
se deberá visualizar sus respectivas fotos y precios
After
Hook
After
Hook
@NBP-1482
@TEST_NBP-1385
@Automatizado
@2025Q1SP01
Scenario Outline: CP012 - Validar el funcionamiento y la vista Escáner de productos
Before
Hook
Given
que el usuario inició sesión exitosamente con sus credenciales "311224_vcia6@yopmail.com" y "777777777@Aa" con perfil "Vendedor Comercio"
And
tocó la opción "Ventas" en el Menú de opciones
And
fue redirigido a la vista "Venta rápida"
When
el usuario toca el ícono del escáner
Then
se visualizará el siguiente título "Escanear código"
When
el usuario toque el botón "Agregar productos" sin haber escaneado algún código
Then
deberá ser redirigido a la vista "Venta rápida" sin mostrarse ningún pop-up
When
el usuario regrese a la vista "Escanear código" y escanee un código de barras
Then
se visualizará el nombre del producto "C - Plato Autorellenable Gr", su precio "20.00", la cantidad y dos botones
When
el usuario agregue el producto
Then
se deberá visualizar un pop-up indicando "Producto agregado"
When
el usuario se diriga al carrito de compras lleno
Then
se visualizará el producto escaneado, su nombre "C - Plato Autorellenable Gr", cantidad "1" y su precio"20.00"
After
Hook
After
Hook
@NBP-1482
@TEST_NBP-1385
@Automatizado
@2025Q1SP01
Scenario Outline: CP012 - Validar el funcionamiento y la vista Escáner de productos
Before
Hook
Given
que el usuario inició sesión exitosamente con sus credenciales "311224_vcca6@yopmail.com" y "777777777@Aa" con perfil "Vendedor Comercio"
And
tocó la opción "Ventas" en el Menú de opciones
And
fue redirigido a la vista "Venta rápida"
When
el usuario toca el ícono del escáner
Then
se visualizará el siguiente título "Escanear código"
When
el usuario toque el botón "Agregar productos" sin haber escaneado algún código
Then
deberá ser redirigido a la vista "Venta rápida" sin mostrarse ningún pop-up
When
el usuario regrese a la vista "Escanear código" y escanee un código de barras
Then
se visualizará el nombre del producto "D - Mini Árbol Navideño", su precio "30.99", la cantidad y dos botones
When
el usuario agregue el producto
Then
se deberá visualizar un pop-up indicando "Producto agregado"
When
el usuario se diriga al carrito de compras lleno
Then
se visualizará el producto escaneado, su nombre "D - Mini Árbol Navideño", cantidad "1" y su precio"30.99"
After
Hook
After
Hook
@NBP-1482
@TEST_NBP-1386
@Automatizado
@2025Q1SP01
Scenario Outline: CP013 - Validar el pop-up de un código no registrado en la vista Escanear código
Before
Hook
Given
que el usuario inició sesión exitosamente con sus credenciales "311224_vcia6@yopmail.com" y "777777777@Aa" con perfil "Vendedor Comercio"
And
tocó la opción "Ventas" en el Menú de opciones
And
fue redirigido a la vista "Venta rápida"
And
tocó el ícono del escáner
And
se encuentra en la vista con el título "Escanear código"
When
el usuario escanea un código un código no registrado
Then
se visualizará el pop-up con el mensaje "Producto no disponible"
After
Hook
After
Hook
@NBP-1482
@TEST_NBP-1386
@Automatizado
@2025Q1SP01
Scenario Outline: CP013 - Validar el pop-up de un código no registrado en la vista Escanear código
Before
Hook
Given
que el usuario inició sesión exitosamente con sus credenciales "311224_vcca6@yopmail.com" y "777777777@Aa" con perfil "Vendedor Comercio"
And
tocó la opción "Ventas" en el Menú de opciones
And
fue redirigido a la vista "Venta rápida"
And
tocó el ícono del escáner
And
se encuentra en la vista con el título "Escanear código"
When
el usuario escanea un código un código no registrado
Then
se visualizará el pop-up con el mensaje "Producto no disponible"
After
Hook
After
Hook
@NBP-1482
@TEST_NBP-1387
@Automatizado
@2025Q1SP01
Scenario Outline: CP014 - Validar las opciones de la vista Resumen para el Plan Inicia
Before
Hook
Given
que el usuario inició sesión exitosamente con sus credenciales "311224_vcia6@yopmail.com" y "777777777@Aa" con perfil "Vendedor Comercio"
And
tocó la opción "Ventas" en el Menú de opciones
And
fue redirigido a la vista "Venta rápida"
When
el usuario seleccione la categoría "Limpieza"
And
toque el producto ("A - Limpia Vidrios Sapolio…") un número de veces ("2")
And
luego el usuario toca el botón Realizar pedido
Then
el usuario es redirigido a la vista Resumen
And
la cantidad "2", nombre "A - Limpia Vidrios Sapolio…" y precio "10.00" del producto agregado debería coincidir con lo mostrado en la vista Resumen
And
se visualizará el icono tachito, el icono "+"
And
se visualizará la opción "Vaciar" en la esquina superior derecha
And
se visualizará el Subtotal "10.00" x "2"
And
se visualizará el Total "10.00" x "2"
And
se visualizará el botón Realizar pedido activo
After
Hook
After
Hook
@NBP-1482
@TEST_NBP-1387
@Automatizado
@2025Q1SP01
Scenario Outline: CP014 - Validar las opciones de la vista Resumen para el Plan Inicia
Before
Hook
Given
que el usuario inició sesión exitosamente con sus credenciales "311224_vcia7@yopmail.com" y "777777777@Aa" con perfil "Vendedor Comercio"
And
tocó la opción "Ventas" en el Menú de opciones
And
fue redirigido a la vista "Venta rápida"
When
el usuario seleccione la categoría "Limpieza"
And
toque el producto ("A - Limpia Vidrios Sapolio…") un número de veces ("4")
And
luego el usuario toca el botón Realizar pedido
Then
el usuario es redirigido a la vista Resumen
And
la cantidad "4", nombre "A - Limpia Vidrios Sapolio…" y precio "20.00" del producto agregado debería coincidir con lo mostrado en la vista Resumen
And
se visualizará el icono tachito, el icono "+"
And
se visualizará la opción "Vaciar" en la esquina superior derecha
And
se visualizará el Subtotal "20.00" x "4"
And
se visualizará el Total "20.00" x "4"
And
se visualizará el botón Realizar pedido activo
After
Hook
After
Hook
@NBP-1482
@TEST_NBP-1388
@Automatizado
@2025Q1SP01
Scenario Outline: CP015 - Validar las opciones de descuento disponibles en la Vista Resumen para el Plan Crece
Before
Hook
Given
que el usuario inició sesión exitosamente con sus credenciales "311224_vcca6@yopmail.com" y "777777777@Aa" con perfil "Vendedor Comercio"
And
tocó la opción "Ventas" en el Menú de opciones
And
fue redirigido a la vista "Venta rápida"
When
el usuario seleccione la categoría "DECORACIONES NAVIDEÑAS"
And
toque el producto ("A - Set de adornos") un número de veces ("4")
And
luego toque el botón Realizar pedido
Then
será redirigido a la vista Resumen
When
el usuario proceda a tocar el icono [+] un numero de veces "1"
Then
la cantidad y el precio aumentará por cada vez que toco el botón ("1") del producto "A - Set de adornos",con una contidad inicial de "4" y un precio de "30.00"
When
el usuario toque el icono [-] un numero de veces "3"
Then
la cantidad y el precio disminuirá por cada vez que toco el botón ("3") del producto "A - Set de adornos",con una contidad inicial de "4" y un precio de "30.00"
When
el usuario toque el icono de los tres puntos del producto
Then
se visualizará tres opciones para editar el precio del producto "Agregar cortesía", "Modificar precio" y "Agregar descuento"
When
el usuario toque la opcion "Modificar precio" para cambiar el precio final del producto
Then
se mostrará inmediatamente la vista para "Modificar precio" y el teclado en pantalla
When
el usuario toque la opcion "Agregar descuento" para cambiar el precio final del producto
Then
se mostrará inmediatamente la vista para "Agregar descuento" y el teclado en pantalla
When
el usuario toque el icono de los tres puntos en la parte inferior izquierda
Then
se visualizará la única opción disponible "Agregar descuento global"
After
Hook
After
Hook
@NBP-1482
@TEST_NBP-1388
@Automatizado
@2025Q1SP01
Scenario Outline: CP015 - Validar las opciones de descuento disponibles en la Vista Resumen para el Plan Crece
Before
Hook
Given
que el usuario inició sesión exitosamente con sus credenciales "311224_vcca7@yopmail.com" y "777777777@Aa" con perfil "Vendedor Comercio"
And
tocó la opción "Ventas" en el Menú de opciones
And
fue redirigido a la vista "Venta rápida"
When
el usuario seleccione la categoría "DECORACIONES NAVIDEÑAS"
And
toque el producto ("A - Set de adornos") un número de veces ("4")
And
luego toque el botón Realizar pedido
Then
será redirigido a la vista Resumen
When
el usuario proceda a tocar el icono [+] un numero de veces "1"
Then
la cantidad y el precio aumentará por cada vez que toco el botón ("1") del producto "A - Set de adornos",con una contidad inicial de "4" y un precio de "40.00"
When
el usuario toque el icono [-] un numero de veces "3"
Then
la cantidad y el precio disminuirá por cada vez que toco el botón ("3") del producto "A - Set de adornos",con una contidad inicial de "4" y un precio de "40.00"
When
el usuario toque el icono de los tres puntos del producto
Then
se visualizará tres opciones para editar el precio del producto "Agregar cortesía", "Modificar precio" y "Agregar descuento"
When
el usuario toque la opcion "Modificar precio" para cambiar el precio final del producto
Then
se mostrará inmediatamente la vista para "Modificar precio" y el teclado en pantalla
When
el usuario toque la opcion "Agregar descuento" para cambiar el precio final del producto
Then
se mostrará inmediatamente la vista para "Agregar descuento" y el teclado en pantalla
When
el usuario toque el icono de los tres puntos en la parte inferior izquierda
Then
se visualizará la única opción disponible "Agregar descuento global"
After
Hook
After
Hook
@NBP-1482
@TEST_NBP-1389
@Automatizado
@2025Q1SP01
Scenario Outline: CP016 - Validar el funcionamiento de vaciar el carrito de compras
Before
Hook
Given
que el usuario inició sesión exitosamente con sus credenciales "311224_vcia6@yopmail.com" y "777777777@Aa" con perfil "Vendedor Comercio"
And
tocó la opción "Ventas" en el Menú de opciones
And
fue redirigido a la vista "Venta rápida"
And
elija cualquier produto de cualquier categoría
And
se diriga a la vista resumen desde el ícono del carrito de compras
And
elimine el pedido realizado con la opción "Vaciar"
Then
se mostrará una ventana preguntando "¿Vaciar carrito?"
And
se deberá visualizar un botón "Confirmar"
And
se deberá visualizar un botón "Cancelar"
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for visibility of element located by By.id: btnMinus (tried for 15 second(s) with 500 milliseconds interval)
at org.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:95)
at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:272)
at com.nttdata.ct.mobile.view.ResumenScreen.contarElementos(ResumenScreen.java:315)
at com.nttdata.ct.mobile.step.ProductosSteps.contarProductosDelCarritoDeCompras(ProductosSteps.java:484)
at com.nttdata.ct.mobile.glue.VentaRapidaSD.elUsuarioToqueEn(VentaRapidaSD.java:395)
at ✽.el usuario toque en "Cancelar"(file:///C:/Users/bfloresg/OneDrive%20-%20NTT%20DATA%20EMEAL/Documents/PROYECTOS/NIUBIZ/POS%20COMERCIO/vas-mobile-automation-testing/NIUBIZ_POINT_APP_COMERCIO_POS/src/test/resources/features/POS%20PAX-A920%20APP-COMERCIO.feature:317)
Caused by: org.openqa.selenium.NoSuchElementException: An element could not be located on the page using the given search parameters.
For documentation on this error, please visit: https://www.seleniumhq.org/exceptions/no_such_element.html
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
System info: host: 'NTTD-JFLJMN3', ip: '192.168.0.151', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '11.0.24'
Driver info: io.appium.java_client.android.AndroidDriver
Capabilities {app: C:\Users\bfloresg\OneDrive ..., appActivity: com.startapps.kipu_pos_reta..., appPackage: com.startapps.kipu_pos_reta..., autoGrantPermissions: true, automationName: UiAutomator2, databaseEnabled: false, desired: {app: C:\Users\bfloresg\OneDrive ..., appActivity: com.startapps.kipu_pos_reta..., appPackage: com.startapps.kipu_pos_reta..., autoGrantPermissions: true, automationName: UiAutomator2, noSign: true, platformName: android}, deviceApiLevel: 25, deviceManufacturer: PAX, deviceModel: A920, deviceName: 0821415971, deviceScreenDensity: 320, deviceScreenSize: 720x1280, deviceUDID: 0821415971, javascriptEnabled: true, locationContextEnabled: false, networkConnectionEnabled: true, noSign: true, pixelRatio: 2, platform: LINUX, platformName: Android, platformVersion: 7.1.2, statBarHeight: 48, takesScreenshot: true, viewportRect: {height: 1136, left: 0, top: 48, width: 720}, warnings: {}, webStorageEnabled: false}
Session ID: 3a586528-e3d1-46f3-aae9-b276df516763
*** Element info: {Using=id, value=btnMinus}
at jdk.internal.reflect.GeneratedConstructorAccessor34.newInstance(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:187)
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:122)
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)
at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:250)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)
at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:41)
at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1)
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:323)
at io.appium.java_client.DefaultGenericMobileDriver.findElement(DefaultGenericMobileDriver.java:61)
at io.appium.java_client.AppiumDriver.findElement(AppiumDriver.java:1)
at io.appium.java_client.android.AndroidDriver.findElement(AndroidDriver.java:1)
at org.openqa.selenium.remote.RemoteWebDriver.findElementById(RemoteWebDriver.java:372)
at io.appium.java_client.DefaultGenericMobileDriver.findElementById(DefaultGenericMobileDriver.java:69)
at io.appium.java_client.AppiumDriver.findElementById(AppiumDriver.java:1)
at io.appium.java_client.android.AndroidDriver.findElementById(AndroidDriver.java:1)
at org.openqa.selenium.By$ById.findElement(By.java:188)
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:315)
at io.appium.java_client.DefaultGenericMobileDriver.findElement(DefaultGenericMobileDriver.java:57)
at io.appium.java_client.AppiumDriver.findElement(AppiumDriver.java:1)
at io.appium.java_client.android.AndroidDriver.findElement(AndroidDriver.java:1)
at org.openqa.selenium.support.ui.ExpectedConditions$7.apply(ExpectedConditions.java:205)
at org.openqa.selenium.support.ui.ExpectedConditions$7.apply(ExpectedConditions.java:201)
at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:249)
at com.nttdata.ct.mobile.view.ResumenScreen.contarElementos(ResumenScreen.java:315)
at com.nttdata.ct.mobile.step.ProductosSteps.contarProductosDelCarritoDeCompras(ProductosSteps.java:484)
at com.nttdata.ct.mobile.glue.VentaRapidaSD.elUsuarioToqueEn(VentaRapidaSD.java:395)
at com.nttdata.ct.mobile.glue.VentaRapidaSD$$FastClassBySpringCGLIB$$8a136e3b.invoke((generated))
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:779)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:64)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:692)
at com.nttdata.ct.mobile.glue.VentaRapidaSD$$EnhancerBySpringCGLIB$$51202c4d.elUsuarioToqueEn((generated))
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at io.cucumber.java.Invoker.doInvoke(Invoker.java:66)
at io.cucumber.java.Invoker.invoke(Invoker.java:24)
at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47)
at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29)
at io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66)
at io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63)
at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10)
at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:86)
at io.cucumber.core.runner.TestStep.run(TestStep.java:57)
at io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51)
at io.cucumber.core.runner.TestCase.run(TestCase.java:95)
at io.cucumber.core.runner.Runner.runPickle(Runner.java:75)
at io.cucumber.junit.PickleRunners$WithStepDescriptions.lambda$run$1(PickleRunners.java:109)
at io.cucumber.core.runtime.CucumberExecutionContext.lambda$runTestCase$3(CucumberExecutionContext.java:151)
at io.cucumber.core.runtime.RethrowingThrowableCollector.executeAndThrow(RethrowingThrowableCollector.java:23)
at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:151)
at io.cucumber.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:106)
at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:144)
at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:28)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at io.cucumber.junit.FeatureRunner.run(FeatureRunner.java:137)
at io.cucumber.junit.Cucumber.runChild(Cucumber.java:196)
at io.cucumber.junit.Cucumber.runChild(Cucumber.java:89)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at io.cucumber.junit.Cucumber$RunBeforeAllHooks.evaluate(Cucumber.java:266)
at io.cucumber.junit.Cucumber$RunAfterAllHooks.evaluate(Cucumber.java:281)
at io.cucumber.junit.Cucumber$StartTestRun.evaluate(Cucumber.java:233)
at io.cucumber.junit.Cucumber$FinishTestRun.evaluate(Cucumber.java:248)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69)
at com.intellij.rt.junit.IdeaTestRunner$Repeater$1.execute(IdeaTestRunner.java:38)
at com.intellij.rt.execution.junit.TestsRepeater.repeat(TestsRepeater.java:11)
at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:35)
at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:232)
at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:55)
Then
la ventana deberá desaparecer y no habrá ningun cambio
When
el usuario repita sus acciones y toque en "Confirmar"
Then
se eliminará el pedido y será redirigido a la vista "Venta rápida"
And
se deberá visualizar el ícono del carrito de compras vacío
After
Hook
@NBP-1482
@TEST_NBP-1389
@Automatizado
@2025Q1SP01
Scenario Outline: CP016 - Validar el funcionamiento de vaciar el carrito de compras
Before
Hook
Given
que el usuario inició sesión exitosamente con sus credenciales "311224_vcca6@yopmail.com" y "777777777@Aa" con perfil "Vendedor Comercio"
And
tocó la opción "Ventas" en el Menú de opciones
And
fue redirigido a la vista "Venta rápida"
And
elija cualquier produto de cualquier categoría
And
se diriga a la vista resumen desde el ícono del carrito de compras
And
elimine el pedido realizado con la opción "Vaciar"
Then
se mostrará una ventana preguntando "¿Vaciar carrito?"
And
se deberá visualizar un botón "Confirmar"
And
se deberá visualizar un botón "Cancelar"
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for visibility of element located by By.id: btnMinus (tried for 15 second(s) with 500 milliseconds interval)
at org.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:95)
at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:272)
at com.nttdata.ct.mobile.view.ResumenScreen.contarElementos(ResumenScreen.java:315)
at com.nttdata.ct.mobile.step.ProductosSteps.contarProductosDelCarritoDeCompras(ProductosSteps.java:484)
at com.nttdata.ct.mobile.glue.VentaRapidaSD.elUsuarioToqueEn(VentaRapidaSD.java:395)
at ✽.el usuario toque en "Cancelar"(file:///C:/Users/bfloresg/OneDrive%20-%20NTT%20DATA%20EMEAL/Documents/PROYECTOS/NIUBIZ/POS%20COMERCIO/vas-mobile-automation-testing/NIUBIZ_POINT_APP_COMERCIO_POS/src/test/resources/features/POS%20PAX-A920%20APP-COMERCIO.feature:317)
Caused by: org.openqa.selenium.NoSuchElementException: An element could not be located on the page using the given search parameters.
For documentation on this error, please visit: https://www.seleniumhq.org/exceptions/no_such_element.html
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
System info: host: 'NTTD-JFLJMN3', ip: '192.168.0.151', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '11.0.24'
Driver info: io.appium.java_client.android.AndroidDriver
Capabilities {app: C:\Users\bfloresg\OneDrive ..., appActivity: com.startapps.kipu_pos_reta..., appPackage: com.startapps.kipu_pos_reta..., autoGrantPermissions: true, automationName: UiAutomator2, databaseEnabled: false, desired: {app: C:\Users\bfloresg\OneDrive ..., appActivity: com.startapps.kipu_pos_reta..., appPackage: com.startapps.kipu_pos_reta..., autoGrantPermissions: true, automationName: UiAutomator2, noSign: true, platformName: android}, deviceApiLevel: 25, deviceManufacturer: PAX, deviceModel: A920, deviceName: 0821415971, deviceScreenDensity: 320, deviceScreenSize: 720x1280, deviceUDID: 0821415971, javascriptEnabled: true, locationContextEnabled: false, networkConnectionEnabled: true, noSign: true, pixelRatio: 2, platform: LINUX, platformName: Android, platformVersion: 7.1.2, statBarHeight: 48, takesScreenshot: true, viewportRect: {height: 1136, left: 0, top: 48, width: 720}, warnings: {}, webStorageEnabled: false}
Session ID: 3efb1e28-5e70-49a1-8b11-ae523611f37b
*** Element info: {Using=id, value=btnMinus}
at jdk.internal.reflect.GeneratedConstructorAccessor34.newInstance(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:187)
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:122)
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)
at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:250)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)
at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:41)
at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1)
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:323)
at io.appium.java_client.DefaultGenericMobileDriver.findElement(DefaultGenericMobileDriver.java:61)
at io.appium.java_client.AppiumDriver.findElement(AppiumDriver.java:1)
at io.appium.java_client.android.AndroidDriver.findElement(AndroidDriver.java:1)
at org.openqa.selenium.remote.RemoteWebDriver.findElementById(RemoteWebDriver.java:372)
at io.appium.java_client.DefaultGenericMobileDriver.findElementById(DefaultGenericMobileDriver.java:69)
at io.appium.java_client.AppiumDriver.findElementById(AppiumDriver.java:1)
at io.appium.java_client.android.AndroidDriver.findElementById(AndroidDriver.java:1)
at org.openqa.selenium.By$ById.findElement(By.java:188)
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:315)
at io.appium.java_client.DefaultGenericMobileDriver.findElement(DefaultGenericMobileDriver.java:57)
at io.appium.java_client.AppiumDriver.findElement(AppiumDriver.java:1)
at io.appium.java_client.android.AndroidDriver.findElement(AndroidDriver.java:1)
at org.openqa.selenium.support.ui.ExpectedConditions$7.apply(ExpectedConditions.java:205)
at org.openqa.selenium.support.ui.ExpectedConditions$7.apply(ExpectedConditions.java:201)
at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:249)
at com.nttdata.ct.mobile.view.ResumenScreen.contarElementos(ResumenScreen.java:315)
at com.nttdata.ct.mobile.step.ProductosSteps.contarProductosDelCarritoDeCompras(ProductosSteps.java:484)
at com.nttdata.ct.mobile.glue.VentaRapidaSD.elUsuarioToqueEn(VentaRapidaSD.java:395)
at com.nttdata.ct.mobile.glue.VentaRapidaSD$$FastClassBySpringCGLIB$$8a136e3b.invoke((generated))
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:779)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:64)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:692)
at com.nttdata.ct.mobile.glue.VentaRapidaSD$$EnhancerBySpringCGLIB$$51202c4d.elUsuarioToqueEn((generated))
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at io.cucumber.java.Invoker.doInvoke(Invoker.java:66)
at io.cucumber.java.Invoker.invoke(Invoker.java:24)
at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47)
at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29)
at io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66)
at io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63)
at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10)
at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:86)
at io.cucumber.core.runner.TestStep.run(TestStep.java:57)
at io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51)
at io.cucumber.core.runner.TestCase.run(TestCase.java:95)
at io.cucumber.core.runner.Runner.runPickle(Runner.java:75)
at io.cucumber.junit.PickleRunners$WithStepDescriptions.lambda$run$1(PickleRunners.java:109)
at io.cucumber.core.runtime.CucumberExecutionContext.lambda$runTestCase$3(CucumberExecutionContext.java:151)
at io.cucumber.core.runtime.RethrowingThrowableCollector.executeAndThrow(RethrowingThrowableCollector.java:23)
at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:151)
at io.cucumber.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:106)
at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:144)
at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:28)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at io.cucumber.junit.FeatureRunner.run(FeatureRunner.java:137)
at io.cucumber.junit.Cucumber.runChild(Cucumber.java:196)
at io.cucumber.junit.Cucumber.runChild(Cucumber.java:89)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at io.cucumber.junit.Cucumber$RunBeforeAllHooks.evaluate(Cucumber.java:266)
at io.cucumber.junit.Cucumber$RunAfterAllHooks.evaluate(Cucumber.java:281)
at io.cucumber.junit.Cucumber$StartTestRun.evaluate(Cucumber.java:233)
at io.cucumber.junit.Cucumber$FinishTestRun.evaluate(Cucumber.java:248)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69)
at com.intellij.rt.junit.IdeaTestRunner$Repeater$1.execute(IdeaTestRunner.java:38)
at com.intellij.rt.execution.junit.TestsRepeater.repeat(TestsRepeater.java:11)
at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:35)
at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:232)
at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:55)
Then
la ventana deberá desaparecer y no habrá ningun cambio
When
el usuario repita sus acciones y toque en "Confirmar"
Then
se eliminará el pedido y será redirigido a la vista "Venta rápida"
And
se deberá visualizar el ícono del carrito de compras vacío
After
Hook
@NBP-1482
@TEST_NBP-1390
@Automatizado
@2025Q1SP01
Scenario Outline: CP017 - Validar las opciones de Boleta electrónica en la vista Comprobante
Before
Hook
Given
que el usuario inició sesión exitosamente con sus credenciales "311224_vcia6@yopmail.com" y "777777777@Aa" con perfil "Vendedor Comercio"
And
tocó la opción "Ventas" en el Menú de opciones
And
fue redirigido a la vista "Venta rápida"
When
el usuario seleccione la categoría "Limpieza"
And
toque el producto ("A - Limpia Vidrios Sapolio…") un número de veces ("2")
And
termine de elegir sus productos
And
termine de realizar su pedido
And
sea redirigido a la vista "Comprobante"
Then
se visualizarán tres tipos de comprobante a seleccionar "Boleta", "Factura" y "Nota de venta"
And
se visualizarán las sub-opciones "Simple" y "Persona" para el comprobante "Boleta electrónica"
When
el usuario toque la sub-opción "Persona" para el comprobante "Boleta electrónica"
And
elija e ingrese el número de su "Carnet de extranjería" y toque el boton enter del teclado
Then
el teclado en pantalla deberá ocultarse
And
se visualizará para "CE" los campos de texto editables: "N° documento", "Nombres y apellidos","Dirección (Opcional)", "Email (Opcional)" con un límite de "100" caracteres
And
se visualizará el campo "Teléfono (Opcional)" con un límite de "9" caracteres
And
se visualizará el botón "Continuar"
After
Hook
After
Hook
@NBP-1482
@TEST_NBP-1390
@Automatizado
@2025Q1SP01
Scenario Outline: CP017 - Validar las opciones de Boleta electrónica en la vista Comprobante
Before
Hook
Given
que el usuario inició sesión exitosamente con sus credenciales "311224_vcca6@yopmail.com" y "777777777@Aa" con perfil "Vendedor Comercio"
And
tocó la opción "Ventas" en el Menú de opciones
And
fue redirigido a la vista "Venta rápida"
When
el usuario seleccione la categoría "DECORACIONES NAVIDEÑAS"
And
toque el producto ("A - Bolas para árbol") un número de veces ("4")
And
termine de elegir sus productos
And
termine de realizar su pedido
And
sea redirigido a la vista "Comprobante"
Then
se visualizarán tres tipos de comprobante a seleccionar "Boleta", "Factura" y "Nota de venta"
And
se visualizarán las sub-opciones "Simple" y "Persona" para el comprobante "Boleta electrónica"
When
el usuario toque la sub-opción "Persona" para el comprobante "Boleta electrónica"
And
elija e ingrese el número de su "Carnet de extranjería" y toque el boton enter del teclado
Then
el teclado en pantalla deberá ocultarse
And
se visualizará para "CE" los campos de texto editables: "N° documento", "Nombres y apellidos","Dirección (Opcional)", "Email (Opcional)" con un límite de "100" caracteres
And
se visualizará el campo "Teléfono (Opcional)" con un límite de "9" caracteres
And
se visualizará el botón "Continuar"
After
Hook
After
Hook
@NBP-1482
@TEST_NBP-1391
@Automatizado
@2025Q1SP01
Scenario Outline: CP018 - Validar las opciones de Nota de venta en la vista Comprobante
Before
Hook
Given
que el usuario inició sesión exitosamente con sus credenciales "311224_vcia6@yopmail.com" y "777777777@Aa" con perfil "Vendedor Comercio"
And
tocó la opción "Ventas" en el Menú de opciones
And
fue redirigido a la vista "Venta rápida"
When
el usuario seleccione la categoría "Limpieza"
And
toque el producto ("A - Limpia Vidrios Sapolio…") un número de veces ("2")
And
termine de elegir sus productos
And
termine de realizar su pedido
And
sea redirigido a la vista "Comprobante"
And
el usuario elija el comprobante "Nota de venta"
Then
se visualizarán las sub-opciones "Simple", "Persona" y "Empresa" para el comprobante "Nota de venta"
When
el usuario toque la sub-opción "Persona" para el comprobante "Nota de venta"
And
elija e ingrese el número de su "Carnet de extranjería" y toque el boton enter del teclado
Then
el teclado en pantalla deberá ocultarse
And
se visualizará para "CE" los campos de texto editables: "N° documento", "Nombres y apellidos","Dirección (Opcional)", "Email (Opcional)" con un límite de "100" caracteres
And
se visualizará el campo "Teléfono (Opcional)" con un límite de "9" caracteres
When
el usuario toque la sub-opción "Empresa" para el comprobante "Nota de venta"
Then
se visualizará para "Empresa" los campos de texto editables: "N° RUC", "Razón social","Dirección", "Email (Opcional)" con un límite de "100" caracteres
And
se visualizará el campo "Teléfono (Opcional)" con un límite de "9" caracteres
After
Hook
After
Hook
@NBP-1482
@TEST_NBP-1391
@Automatizado
@2025Q1SP01
Scenario Outline: CP018 - Validar las opciones de Nota de venta en la vista Comprobante
Before
Hook
Given
que el usuario inició sesión exitosamente con sus credenciales "311224_vcca6@yopmail.com" y "777777777@Aa" con perfil "Vendedor Comercio"
And
tocó la opción "Ventas" en el Menú de opciones
And
fue redirigido a la vista "Venta rápida"
When
el usuario seleccione la categoría "DECORACIONES NAVIDEÑAS"
And
toque el producto ("A - Bolas para árbol") un número de veces ("4")
And
termine de elegir sus productos
And
termine de realizar su pedido
And
sea redirigido a la vista "Comprobante"
And
el usuario elija el comprobante "Nota de venta"
Then
se visualizarán las sub-opciones "Simple", "Persona" y "Empresa" para el comprobante "Nota de venta"
When
el usuario toque la sub-opción "Persona" para el comprobante "Nota de venta"
And
elija e ingrese el número de su "Carnet de extranjería" y toque el boton enter del teclado
Then
el teclado en pantalla deberá ocultarse
And
se visualizará para "CE" los campos de texto editables: "N° documento", "Nombres y apellidos","Dirección (Opcional)", "Email (Opcional)" con un límite de "100" caracteres
And
se visualizará el campo "Teléfono (Opcional)" con un límite de "9" caracteres
When
el usuario toque la sub-opción "Empresa" para el comprobante "Nota de venta"
Then
se visualizará para "Empresa" los campos de texto editables: "N° RUC", "Razón social","Dirección", "Email (Opcional)" con un límite de "100" caracteres
And
se visualizará el campo "Teléfono (Opcional)" con un límite de "9" caracteres
After
Hook
After
Hook
@NBP-1482
@TEST_NBP-1392
@Automatizado
@2025Q1SP01
Scenario Outline: CP019 - Validar las opciones de Factura en la vista Comprobante
Before
Hook
Given
que el usuario inició sesión exitosamente con sus credenciales "311224_vcia6@yopmail.com" y "777777777@Aa" con perfil "Vendedor Comercio"
And
tocó la opción "Ventas" en el Menú de opciones
And
fue redirigido a la vista "Venta rápida"
When
el usuario seleccione la categoría "Limpieza"
And
toque el producto ("A - Limpia Vidrios Sapolio…") un número de veces ("2")
And
termine de elegir sus productos
And
termine de realizar su pedido
And
sea redirigido a la vista "Comprobante"
And
el usuario elija el comprobante "Factura"
Then
se visualizará para "Factura" los campos de texto editables: "N° RUC", "Razón social","Dirección", "Email (Opcional)" con un límite de "100" caracteres
And
se visualizará el campo "Teléfono (Opcional)" con un límite de "9" caracteres
And
se visualizará el botón "Continuar"
After
Hook
After
Hook
@NBP-1482
@TEST_NBP-1392
@Automatizado
@2025Q1SP01
Scenario Outline: CP019 - Validar las opciones de Factura en la vista Comprobante
Before
Hook
Given
que el usuario inició sesión exitosamente con sus credenciales "311224_vcca6@yopmail.com" y "777777777@Aa" con perfil "Vendedor Comercio"
And
tocó la opción "Ventas" en el Menú de opciones
And
fue redirigido a la vista "Venta rápida"
When
el usuario seleccione la categoría "DECORACIONES NAVIDEÑAS"
And
toque el producto ("A - Bolas para árbol") un número de veces ("4")
And
termine de elegir sus productos
And
termine de realizar su pedido
And
sea redirigido a la vista "Comprobante"
And
el usuario elija el comprobante "Factura"
Then
se visualizará para "Factura" los campos de texto editables: "N° RUC", "Razón social","Dirección", "Email (Opcional)" con un límite de "100" caracteres
And
se visualizará el campo "Teléfono (Opcional)" con un límite de "9" caracteres
And
se visualizará el botón "Continuar"
After
Hook
After
Hook
@NBP-1482
@TEST_NBP-1418
@Automatizado
@2025Q1SP01
Scenario Outline: CP045 - Validar la vista impresora
Before
Hook
Given
que el usuario inició sesión exitosamente con sus credenciales "311224_vcia6@yopmail.com" y "777777777@Aa" con perfil "Vendedor Comercio"
And
tocó la opción "Configuración" en el Menú de opciones
When
el usuario toque la opción "Impresora" en la vista Configuración
Then
será redirigido a la vista "Impresora" donde se deberá visualizar un mensaje "Sin impresora configurada"
When
el usuario toque el botón "Agregar Impresora" en la vista Impresora
Then
se deberá visualizar el campo de entrada de texto "Nombre de impresora" con un límite máximo de "100" caracteres
+ Show Error
java.lang.AssertionError: expected:(100) but was:(122) at org.junit.Assert.fail(Assert.java:89) at org.junit.Assert.failNotEquals(Assert.java:835) at org.junit.Assert.assertEquals(Assert.java:647) at org.junit.Assert.assertEquals(Assert.java:633) at com.nttdata.ct.mobile.step.ImpresoraSteps.validarCampoDeEntrada(ImpresoraSteps.java:148) at com.nttdata.ct.mobile.glue.ImpresoraSD.seDeberáVisualizarElCampoDeEntradaDeTextoConUnLímiteMáximoDeCaracteres(ImpresoraSD.java:98) at ✽.se deberá visualizar el campo de entrada de texto "Nombre de impresora" con un límite máximo de "100" caracteres(file:///C:/Users/bfloresg/OneDrive%20-%20NTT%20DATA%20EMEAL/Documents/PROYECTOS/NIUBIZ/POS%20COMERCIO/vas-mobile-automation-testing/NIUBIZ_POINT_APP_COMERCIO_POS/src/test/resources/features/POS%20PAX-A920%20APP-COMERCIO.feature:473)
And
se deberá visualizar el campo de entrada de texto "Dirección IP" con un límite máximo de "15" caracteres
And
se deberá visualizar una indicación y un switch para "Marcar como impresora principal ACTIVADO"
And
se deberá visualizar una caja de opciones para seleccionar la marca
And
se deberá visualizar el botón para "Prueba de impresión"
And
se deberá visualizar el botón para "Agregar impresora"
After
Hook
@NBP-1482
@TEST_NBP-1418
@Automatizado
@2025Q1SP01
Scenario Outline: CP045 - Validar la vista impresora
Before
Hook
Given
que el usuario inició sesión exitosamente con sus credenciales "311224_vcia7@yopmail.com" y "777777777@Aa" con perfil "Vendedor Comercio"
And
tocó la opción "Configuración" en el Menú de opciones
When
el usuario toque la opción "Impresora" en la vista Configuración
Then
será redirigido a la vista "Impresora" donde se deberá visualizar un mensaje "Sin impresora configurada"
When
el usuario toque el botón "Agregar Impresora" en la vista Impresora
Then
se deberá visualizar el campo de entrada de texto "Nombre de impresora" con un límite máximo de "100" caracteres
+ Show Error
java.lang.AssertionError: expected:(100) but was:(122) at org.junit.Assert.fail(Assert.java:89) at org.junit.Assert.failNotEquals(Assert.java:835) at org.junit.Assert.assertEquals(Assert.java:647) at org.junit.Assert.assertEquals(Assert.java:633) at com.nttdata.ct.mobile.step.ImpresoraSteps.validarCampoDeEntrada(ImpresoraSteps.java:148) at com.nttdata.ct.mobile.glue.ImpresoraSD.seDeberáVisualizarElCampoDeEntradaDeTextoConUnLímiteMáximoDeCaracteres(ImpresoraSD.java:98) at ✽.se deberá visualizar el campo de entrada de texto "Nombre de impresora" con un límite máximo de "100" caracteres(file:///C:/Users/bfloresg/OneDrive%20-%20NTT%20DATA%20EMEAL/Documents/PROYECTOS/NIUBIZ/POS%20COMERCIO/vas-mobile-automation-testing/NIUBIZ_POINT_APP_COMERCIO_POS/src/test/resources/features/POS%20PAX-A920%20APP-COMERCIO.feature:473)
And
se deberá visualizar el campo de entrada de texto "Dirección IP" con un límite máximo de "15" caracteres
And
se deberá visualizar una indicación y un switch para "Marcar como impresora principal ACTIVADO"
And
se deberá visualizar una caja de opciones para seleccionar la marca
And
se deberá visualizar el botón para "Prueba de impresión"
And
se deberá visualizar el botón para "Agregar impresora"
After
Hook
@NBP-1482
@TEST_NBP-1418
@Automatizado
@2025Q1SP01
Scenario Outline: CP045 - Validar la vista impresora
Before
Hook
Given
que el usuario inició sesión exitosamente con sus credenciales "311224_vcca6@yopmail.com" y "777777777@Aa" con perfil "Vendedor Comercio"
And
tocó la opción "Configuración" en el Menú de opciones
When
el usuario toque la opción "Impresora" en la vista Configuración
Then
será redirigido a la vista "Impresora" donde se deberá visualizar un mensaje "Sin impresora configurada"
When
el usuario toque el botón "Agregar Impresora" en la vista Impresora
Then
se deberá visualizar el campo de entrada de texto "Nombre de impresora" con un límite máximo de "100" caracteres
+ Show Error
java.lang.AssertionError: expected:(100) but was:(122) at org.junit.Assert.fail(Assert.java:89) at org.junit.Assert.failNotEquals(Assert.java:835) at org.junit.Assert.assertEquals(Assert.java:647) at org.junit.Assert.assertEquals(Assert.java:633) at com.nttdata.ct.mobile.step.ImpresoraSteps.validarCampoDeEntrada(ImpresoraSteps.java:148) at com.nttdata.ct.mobile.glue.ImpresoraSD.seDeberáVisualizarElCampoDeEntradaDeTextoConUnLímiteMáximoDeCaracteres(ImpresoraSD.java:98) at ✽.se deberá visualizar el campo de entrada de texto "Nombre de impresora" con un límite máximo de "100" caracteres(file:///C:/Users/bfloresg/OneDrive%20-%20NTT%20DATA%20EMEAL/Documents/PROYECTOS/NIUBIZ/POS%20COMERCIO/vas-mobile-automation-testing/NIUBIZ_POINT_APP_COMERCIO_POS/src/test/resources/features/POS%20PAX-A920%20APP-COMERCIO.feature:473)
And
se deberá visualizar el campo de entrada de texto "Dirección IP" con un límite máximo de "15" caracteres
And
se deberá visualizar una indicación y un switch para "Marcar como impresora principal ACTIVADO"
And
se deberá visualizar una caja de opciones para seleccionar la marca
And
se deberá visualizar el botón para "Prueba de impresión"
And
se deberá visualizar el botón para "Agregar impresora"
After
Hook
@NBP-1482
@TEST_NBP-1418
@Automatizado
@2025Q1SP01
Scenario Outline: CP045 - Validar la vista impresora
Before
Hook
Given
que el usuario inició sesión exitosamente con sus credenciales "311224_vcca7@yopmail.com" y "777777777@Aa" con perfil "Vendedor Comercio"
And
tocó la opción "Configuración" en el Menú de opciones
When
el usuario toque la opción "Impresora" en la vista Configuración
Then
será redirigido a la vista "Impresora" donde se deberá visualizar un mensaje "Sin impresora configurada"
When
el usuario toque el botón "Agregar Impresora" en la vista Impresora
Then
se deberá visualizar el campo de entrada de texto "Nombre de impresora" con un límite máximo de "100" caracteres
+ Show Error
java.lang.AssertionError: expected:(100) but was:(122) at org.junit.Assert.fail(Assert.java:89) at org.junit.Assert.failNotEquals(Assert.java:835) at org.junit.Assert.assertEquals(Assert.java:647) at org.junit.Assert.assertEquals(Assert.java:633) at com.nttdata.ct.mobile.step.ImpresoraSteps.validarCampoDeEntrada(ImpresoraSteps.java:148) at com.nttdata.ct.mobile.glue.ImpresoraSD.seDeberáVisualizarElCampoDeEntradaDeTextoConUnLímiteMáximoDeCaracteres(ImpresoraSD.java:98) at ✽.se deberá visualizar el campo de entrada de texto "Nombre de impresora" con un límite máximo de "100" caracteres(file:///C:/Users/bfloresg/OneDrive%20-%20NTT%20DATA%20EMEAL/Documents/PROYECTOS/NIUBIZ/POS%20COMERCIO/vas-mobile-automation-testing/NIUBIZ_POINT_APP_COMERCIO_POS/src/test/resources/features/POS%20PAX-A920%20APP-COMERCIO.feature:473)
And
se deberá visualizar el campo de entrada de texto "Dirección IP" con un límite máximo de "15" caracteres
And
se deberá visualizar una indicación y un switch para "Marcar como impresora principal ACTIVADO"
And
se deberá visualizar una caja de opciones para seleccionar la marca
And
se deberá visualizar el botón para "Prueba de impresión"
And
se deberá visualizar el botón para "Agregar impresora"
After
Hook
@NBP-1482
@TEST_NBP-1221
@Automatizado
@2025Q1SP01
Scenario Outline: CP046 - Validar la funcionalidad AGREGAR IMPRESORA Y PRUEBA DE IMPRESIÓN
Before
Hook
Given
que el usuario inició sesión exitosamente con sus credenciales "311224_vcia6@yopmail.com" y "777777777@Aa" con perfil "Vendedor Comercio"
And
tocó la opción "Configuración" en el Menú de opciones
When
el usuario toque la opción "Impresora" en la vista Configuración
Then
será redirigido a la vista "Impresora" donde se deberá visualizar un mensaje "Sin impresora configurada"
When
el usuario toque el botón "Agregar Impresora" en la vista Impresora
And
el usuario llene los campos de entrada "impresora01" y "192.168.56.164" con datos válidos
And
seleccione la marca
And
toque el botón "Prueba de Impresion" para probar el funcionamiento de su impresora
Then
se deberá imprimir un comprobante indicando que es una prueba de impresión
When
toque el botón "Agregar impresora" nuevamente
Then
se deberá visualizar un pop-up con el mensaje "Impresora creada correctamente"
After
Hook
After
Hook
@NBP-1482
@TEST_NBP-1221
@Automatizado
@2025Q1SP01
Scenario Outline: CP046 - Validar la funcionalidad AGREGAR IMPRESORA Y PRUEBA DE IMPRESIÓN
Before
Hook
Given
que el usuario inició sesión exitosamente con sus credenciales "311224_vcia7@yopmail.com" y "777777777@Aa" con perfil "Vendedor Comercio"
And
tocó la opción "Configuración" en el Menú de opciones
When
el usuario toque la opción "Impresora" en la vista Configuración
Then
será redirigido a la vista "Impresora" donde se deberá visualizar un mensaje "Sin impresora configurada"
When
el usuario toque el botón "Agregar Impresora" en la vista Impresora
And
el usuario llene los campos de entrada "impresora02" y "192.168.56.164" con datos válidos
And
seleccione la marca
And
toque el botón "Prueba de Impresion" para probar el funcionamiento de su impresora
Then
se deberá imprimir un comprobante indicando que es una prueba de impresión
When
toque el botón "Agregar impresora" nuevamente
Then
se deberá visualizar un pop-up con el mensaje "Impresora creada correctamente"
After
Hook
After
Hook
@NBP-1482
@TEST_NBP-1221
@Automatizado
@2025Q1SP01
Scenario Outline: CP046 - Validar la funcionalidad AGREGAR IMPRESORA Y PRUEBA DE IMPRESIÓN
Before
Hook
Given
que el usuario inició sesión exitosamente con sus credenciales "311224_vcca6@yopmail.com" y "777777777@Aa" con perfil "Vendedor Comercio"
And
tocó la opción "Configuración" en el Menú de opciones
When
el usuario toque la opción "Impresora" en la vista Configuración
Then
será redirigido a la vista "Impresora" donde se deberá visualizar un mensaje "Sin impresora configurada"
When
el usuario toque el botón "Agregar Impresora" en la vista Impresora
And
el usuario llene los campos de entrada "impresora03" y "192.168.56.164" con datos válidos
And
seleccione la marca
And
toque el botón "Prueba de Impresion" para probar el funcionamiento de su impresora
Then
se deberá imprimir un comprobante indicando que es una prueba de impresión
When
toque el botón "Agregar impresora" nuevamente
Then
se deberá visualizar un pop-up con el mensaje "Impresora creada correctamente"
After
Hook
After
Hook
@NBP-1482
@TEST_NBP-1221
@Automatizado
@2025Q1SP01
Scenario Outline: CP046 - Validar la funcionalidad AGREGAR IMPRESORA Y PRUEBA DE IMPRESIÓN
Before
Hook
Given
que el usuario inició sesión exitosamente con sus credenciales "311224_vcca7@yopmail.com" y "777777777@Aa" con perfil "Vendedor Comercio"
And
tocó la opción "Configuración" en el Menú de opciones
When
el usuario toque la opción "Impresora" en la vista Configuración
Then
será redirigido a la vista "Impresora" donde se deberá visualizar un mensaje "Sin impresora configurada"
When
el usuario toque el botón "Agregar Impresora" en la vista Impresora
And
el usuario llene los campos de entrada "impresora04" y "192.168.56.164" con datos válidos
And
seleccione la marca
And
toque el botón "Prueba de Impresion" para probar el funcionamiento de su impresora
Then
se deberá imprimir un comprobante indicando que es una prueba de impresión
When
toque el botón "Agregar impresora" nuevamente
Then
se deberá visualizar un pop-up con el mensaje "Impresora creada correctamente"
After
Hook
After
Hook
@NBP-1482
@TEST_NBP-1222
@Automatizado
@2025Q1SP01
Scenario Outline: CP047 - Validar la funcionalidad ELIMINAR IMPRESORA
Before
Hook
Given
que el usuario inició sesión exitosamente con sus credenciales "311224_vcia6@yopmail.com" y "777777777@Aa" con perfil "Vendedor Comercio"
And
tocó la opción "Configuración" en el Menú de opciones
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for element to be clickable: Located by By.chained({By.id: switchCommands}) (tried for 15 second(s) with 500 milliseconds interval)
at org.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:95)
at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:272)
at com.nttdata.ct.mobile.view.ImpresoraScreen.toggleSwitchImprimirComandas(ImpresoraScreen.java:133)
at com.nttdata.ct.mobile.step.ImpresoraSteps.activarSwitchImprimirComandas(ImpresoraSteps.java:41)
at com.nttdata.ct.mobile.step.ImpresoraSteps.configuracionCompletaDeImpresoraConParametros(ImpresoraSteps.java:80)
at com.nttdata.ct.mobile.glue.ImpresoraSD.configuróUnaImpresoraY(ImpresoraSD.java:77)
at ✽.configuró una impresora "impresora01" y "192.168.56.164"(file:///C:/Users/bfloresg/OneDrive%20-%20NTT%20DATA%20EMEAL/Documents/PROYECTOS/NIUBIZ/POS%20COMERCIO/vas-mobile-automation-testing/NIUBIZ_POINT_APP_COMERCIO_POS/src/test/resources/features/POS%20PAX-A920%20APP-COMERCIO.feature:512)
Caused by: org.openqa.selenium.NoSuchElementException: Can't locate an element by this strategy: By.chained({By.id: switchCommands})
at io.appium.java_client.pagefactory.AppiumElementLocator.findElement(AppiumElementLocator.java:126)
at io.appium.java_client.pagefactory.interceptors.InterceptorOfASingleElement.intercept(InterceptorOfASingleElement.java:59)
at io.appium.java_client.android.AndroidElement$$EnhancerByCGLIB$$b598166c.isDisplayed((generated))
at org.openqa.selenium.support.ui.ExpectedConditions.elementIfVisible(ExpectedConditions.java:314)
at org.openqa.selenium.support.ui.ExpectedConditions.access$000(ExpectedConditions.java:43)
at org.openqa.selenium.support.ui.ExpectedConditions$10.apply(ExpectedConditions.java:300)
at org.openqa.selenium.support.ui.ExpectedConditions$10.apply(ExpectedConditions.java:297)
at org.openqa.selenium.support.ui.ExpectedConditions$23.apply(ExpectedConditions.java:670)
at org.openqa.selenium.support.ui.ExpectedConditions$23.apply(ExpectedConditions.java:666)
at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:249)
at com.nttdata.ct.mobile.view.ImpresoraScreen.toggleSwitchImprimirComandas(ImpresoraScreen.java:133)
at com.nttdata.ct.mobile.step.ImpresoraSteps.activarSwitchImprimirComandas(ImpresoraSteps.java:41)
at com.nttdata.ct.mobile.step.ImpresoraSteps.configuracionCompletaDeImpresoraConParametros(ImpresoraSteps.java:80)
at com.nttdata.ct.mobile.glue.ImpresoraSD.configuróUnaImpresoraY(ImpresoraSD.java:77)
at com.nttdata.ct.mobile.glue.ImpresoraSD$$FastClassBySpringCGLIB$$e8b33af4.invoke((generated))
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:779)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:64)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:692)
at com.nttdata.ct.mobile.glue.ImpresoraSD$$EnhancerBySpringCGLIB$$24a4ce18.configuróUnaImpresoraY((generated))
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at io.cucumber.java.Invoker.doInvoke(Invoker.java:66)
at io.cucumber.java.Invoker.invoke(Invoker.java:24)
at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47)
at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29)
at io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66)
at io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63)
at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10)
at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:86)
at io.cucumber.core.runner.TestStep.run(TestStep.java:57)
at io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51)
at io.cucumber.core.runner.TestCase.run(TestCase.java:95)
at io.cucumber.core.runner.Runner.runPickle(Runner.java:75)
at io.cucumber.junit.PickleRunners$WithStepDescriptions.lambda$run$1(PickleRunners.java:109)
at io.cucumber.core.runtime.CucumberExecutionContext.lambda$runTestCase$3(CucumberExecutionContext.java:151)
at io.cucumber.core.runtime.RethrowingThrowableCollector.executeAndThrow(RethrowingThrowableCollector.java:23)
at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:151)
at io.cucumber.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:106)
at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:144)
at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:28)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at io.cucumber.junit.FeatureRunner.run(FeatureRunner.java:137)
at io.cucumber.junit.Cucumber.runChild(Cucumber.java:196)
at io.cucumber.junit.Cucumber.runChild(Cucumber.java:89)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at io.cucumber.junit.Cucumber$RunBeforeAllHooks.evaluate(Cucumber.java:266)
at io.cucumber.junit.Cucumber$RunAfterAllHooks.evaluate(Cucumber.java:281)
at io.cucumber.junit.Cucumber$StartTestRun.evaluate(Cucumber.java:233)
at io.cucumber.junit.Cucumber$FinishTestRun.evaluate(Cucumber.java:248)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69)
at com.intellij.rt.junit.IdeaTestRunner$Repeater$1.execute(IdeaTestRunner.java:38)
at com.intellij.rt.execution.junit.TestsRepeater.repeat(TestsRepeater.java:11)
at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:35)
at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:232)
at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:55)
Caused by: org.openqa.selenium.TimeoutException: Expected condition failed: waiting for io.appium.java_client.pagefactory.AppiumElementLocator$WaitingFunction@12275c1a (tried for 1 second(s) with 500 milliseconds interval)
at org.openqa.selenium.support.ui.FluentWait.timeoutException(FluentWait.java:304)
at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:272)
at io.appium.java_client.pagefactory.AppiumElementLocator.waitFor(AppiumElementLocator.java:99)
at io.appium.java_client.pagefactory.AppiumElementLocator.findElement(AppiumElementLocator.java:119)
... 79 more
Caused by: org.openqa.selenium.NoSuchElementException: Cannot locate an element using By.chained({By.id: switchCommands})
For documentation on this error, please visit: https://www.seleniumhq.org/exceptions/no_such_element.html
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
System info: host: 'NTTD-JFLJMN3', ip: '192.168.0.151', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '11.0.24'
Driver info: driver.version: AndroidDriver
at io.appium.java_client.pagefactory.bys.builder.ByChained.findElement(ByChained.java:74)
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:315)
at io.appium.java_client.DefaultGenericMobileDriver.findElement(DefaultGenericMobileDriver.java:57)
at io.appium.java_client.AppiumDriver.findElement(AppiumDriver.java:1)
at io.appium.java_client.android.AndroidDriver.findElement(AndroidDriver.java:1)
at io.appium.java_client.pagefactory.bys.ContentMappedBy.findElement(ContentMappedBy.java:50)
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:315)
at io.appium.java_client.DefaultGenericMobileDriver.findElement(DefaultGenericMobileDriver.java:57)
at io.appium.java_client.AppiumDriver.findElement(AppiumDriver.java:1)
at io.appium.java_client.android.AndroidDriver.findElement(AndroidDriver.java:1)
at io.appium.java_client.pagefactory.AppiumElementLocator.lambda$0(AppiumElementLocator.java:120)
at io.appium.java_client.pagefactory.AppiumElementLocator$WaitingFunction.apply(AppiumElementLocator.java:172)
at io.appium.java_client.pagefactory.AppiumElementLocator$WaitingFunction.apply(AppiumElementLocator.java:1)
at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:249)
... 81 more
And
tocó la opción "Configuración" en el Menú de opciones
When
el usuario toque la opción "Impresora" en la vista Configuración
Then
será redirigido a la vista "Impresora" donde se deberá visualizar la impresora "impresora01" configurada previamente
When
el usuario toque en la impresora configurada "impresora01"
And
luego toque en el botón "Eliminar impresora" para eliminarlo
Then
será redirigido a la vista "Impresora" donde se deberá visualizar un mensaje "Sin impresora configurada"
After
Hook
@NBP-1482
@TEST_NBP-1222
@Automatizado
@2025Q1SP01
Scenario Outline: CP047 - Validar la funcionalidad ELIMINAR IMPRESORA
Before
Hook
Given
que el usuario inició sesión exitosamente con sus credenciales "311224_vcia7@yopmail.com" y "777777777@Aa" con perfil "Vendedor Comercio"
And
tocó la opción "Configuración" en el Menú de opciones
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for element to be clickable: Located by By.chained({By.id: switchCommands}) (tried for 15 second(s) with 500 milliseconds interval)
at org.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:95)
at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:272)
at com.nttdata.ct.mobile.view.ImpresoraScreen.toggleSwitchImprimirComandas(ImpresoraScreen.java:133)
at com.nttdata.ct.mobile.step.ImpresoraSteps.activarSwitchImprimirComandas(ImpresoraSteps.java:41)
at com.nttdata.ct.mobile.step.ImpresoraSteps.configuracionCompletaDeImpresoraConParametros(ImpresoraSteps.java:80)
at com.nttdata.ct.mobile.glue.ImpresoraSD.configuróUnaImpresoraY(ImpresoraSD.java:77)
at ✽.configuró una impresora "impresora02" y "192.168.56.164"(file:///C:/Users/bfloresg/OneDrive%20-%20NTT%20DATA%20EMEAL/Documents/PROYECTOS/NIUBIZ/POS%20COMERCIO/vas-mobile-automation-testing/NIUBIZ_POINT_APP_COMERCIO_POS/src/test/resources/features/POS%20PAX-A920%20APP-COMERCIO.feature:512)
Caused by: org.openqa.selenium.NoSuchElementException: Can't locate an element by this strategy: By.chained({By.id: switchCommands})
at io.appium.java_client.pagefactory.AppiumElementLocator.findElement(AppiumElementLocator.java:126)
at io.appium.java_client.pagefactory.interceptors.InterceptorOfASingleElement.intercept(InterceptorOfASingleElement.java:59)
at io.appium.java_client.android.AndroidElement$$EnhancerByCGLIB$$b598166c.isDisplayed((generated))
at org.openqa.selenium.support.ui.ExpectedConditions.elementIfVisible(ExpectedConditions.java:314)
at org.openqa.selenium.support.ui.ExpectedConditions.access$000(ExpectedConditions.java:43)
at org.openqa.selenium.support.ui.ExpectedConditions$10.apply(ExpectedConditions.java:300)
at org.openqa.selenium.support.ui.ExpectedConditions$10.apply(ExpectedConditions.java:297)
at org.openqa.selenium.support.ui.ExpectedConditions$23.apply(ExpectedConditions.java:670)
at org.openqa.selenium.support.ui.ExpectedConditions$23.apply(ExpectedConditions.java:666)
at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:249)
at com.nttdata.ct.mobile.view.ImpresoraScreen.toggleSwitchImprimirComandas(ImpresoraScreen.java:133)
at com.nttdata.ct.mobile.step.ImpresoraSteps.activarSwitchImprimirComandas(ImpresoraSteps.java:41)
at com.nttdata.ct.mobile.step.ImpresoraSteps.configuracionCompletaDeImpresoraConParametros(ImpresoraSteps.java:80)
at com.nttdata.ct.mobile.glue.ImpresoraSD.configuróUnaImpresoraY(ImpresoraSD.java:77)
at com.nttdata.ct.mobile.glue.ImpresoraSD$$FastClassBySpringCGLIB$$e8b33af4.invoke((generated))
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:779)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:64)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:692)
at com.nttdata.ct.mobile.glue.ImpresoraSD$$EnhancerBySpringCGLIB$$24a4ce18.configuróUnaImpresoraY((generated))
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at io.cucumber.java.Invoker.doInvoke(Invoker.java:66)
at io.cucumber.java.Invoker.invoke(Invoker.java:24)
at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47)
at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29)
at io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66)
at io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63)
at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10)
at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:86)
at io.cucumber.core.runner.TestStep.run(TestStep.java:57)
at io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51)
at io.cucumber.core.runner.TestCase.run(TestCase.java:95)
at io.cucumber.core.runner.Runner.runPickle(Runner.java:75)
at io.cucumber.junit.PickleRunners$WithStepDescriptions.lambda$run$1(PickleRunners.java:109)
at io.cucumber.core.runtime.CucumberExecutionContext.lambda$runTestCase$3(CucumberExecutionContext.java:151)
at io.cucumber.core.runtime.RethrowingThrowableCollector.executeAndThrow(RethrowingThrowableCollector.java:23)
at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:151)
at io.cucumber.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:106)
at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:144)
at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:28)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at io.cucumber.junit.FeatureRunner.run(FeatureRunner.java:137)
at io.cucumber.junit.Cucumber.runChild(Cucumber.java:196)
at io.cucumber.junit.Cucumber.runChild(Cucumber.java:89)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at io.cucumber.junit.Cucumber$RunBeforeAllHooks.evaluate(Cucumber.java:266)
at io.cucumber.junit.Cucumber$RunAfterAllHooks.evaluate(Cucumber.java:281)
at io.cucumber.junit.Cucumber$StartTestRun.evaluate(Cucumber.java:233)
at io.cucumber.junit.Cucumber$FinishTestRun.evaluate(Cucumber.java:248)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69)
at com.intellij.rt.junit.IdeaTestRunner$Repeater$1.execute(IdeaTestRunner.java:38)
at com.intellij.rt.execution.junit.TestsRepeater.repeat(TestsRepeater.java:11)
at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:35)
at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:232)
at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:55)
Caused by: org.openqa.selenium.TimeoutException: Expected condition failed: waiting for io.appium.java_client.pagefactory.AppiumElementLocator$WaitingFunction@157c5e38 (tried for 1 second(s) with 500 milliseconds interval)
at org.openqa.selenium.support.ui.FluentWait.timeoutException(FluentWait.java:304)
at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:272)
at io.appium.java_client.pagefactory.AppiumElementLocator.waitFor(AppiumElementLocator.java:99)
at io.appium.java_client.pagefactory.AppiumElementLocator.findElement(AppiumElementLocator.java:119)
... 79 more
Caused by: org.openqa.selenium.NoSuchElementException: Cannot locate an element using By.chained({By.id: switchCommands})
For documentation on this error, please visit: https://www.seleniumhq.org/exceptions/no_such_element.html
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
System info: host: 'NTTD-JFLJMN3', ip: '192.168.0.151', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '11.0.24'
Driver info: driver.version: AndroidDriver
at io.appium.java_client.pagefactory.bys.builder.ByChained.findElement(ByChained.java:74)
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:315)
at io.appium.java_client.DefaultGenericMobileDriver.findElement(DefaultGenericMobileDriver.java:57)
at io.appium.java_client.AppiumDriver.findElement(AppiumDriver.java:1)
at io.appium.java_client.android.AndroidDriver.findElement(AndroidDriver.java:1)
at io.appium.java_client.pagefactory.bys.ContentMappedBy.findElement(ContentMappedBy.java:50)
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:315)
at io.appium.java_client.DefaultGenericMobileDriver.findElement(DefaultGenericMobileDriver.java:57)
at io.appium.java_client.AppiumDriver.findElement(AppiumDriver.java:1)
at io.appium.java_client.android.AndroidDriver.findElement(AndroidDriver.java:1)
at io.appium.java_client.pagefactory.AppiumElementLocator.lambda$0(AppiumElementLocator.java:120)
at io.appium.java_client.pagefactory.AppiumElementLocator$WaitingFunction.apply(AppiumElementLocator.java:172)
at io.appium.java_client.pagefactory.AppiumElementLocator$WaitingFunction.apply(AppiumElementLocator.java:1)
at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:249)
... 81 more
And
tocó la opción "Configuración" en el Menú de opciones
When
el usuario toque la opción "Impresora" en la vista Configuración
Then
será redirigido a la vista "Impresora" donde se deberá visualizar la impresora "impresora02" configurada previamente
When
el usuario toque en la impresora configurada "impresora02"
And
luego toque en el botón "Eliminar impresora" para eliminarlo
Then
será redirigido a la vista "Impresora" donde se deberá visualizar un mensaje "Sin impresora configurada"
After
Hook
@NBP-1482
@TEST_NBP-1222
@Automatizado
@2025Q1SP01
Scenario Outline: CP047 - Validar la funcionalidad ELIMINAR IMPRESORA
Before
Hook
Given
que el usuario inició sesión exitosamente con sus credenciales "311224_vcca6@yopmail.com" y "777777777@Aa" con perfil "Vendedor Comercio"
And
tocó la opción "Configuración" en el Menú de opciones
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for element to be clickable: Located by By.chained({By.id: switchCommands}) (tried for 15 second(s) with 500 milliseconds interval)
at org.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:95)
at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:272)
at com.nttdata.ct.mobile.view.ImpresoraScreen.toggleSwitchImprimirComandas(ImpresoraScreen.java:133)
at com.nttdata.ct.mobile.step.ImpresoraSteps.activarSwitchImprimirComandas(ImpresoraSteps.java:41)
at com.nttdata.ct.mobile.step.ImpresoraSteps.configuracionCompletaDeImpresoraConParametros(ImpresoraSteps.java:80)
at com.nttdata.ct.mobile.glue.ImpresoraSD.configuróUnaImpresoraY(ImpresoraSD.java:77)
at ✽.configuró una impresora "impresora03" y "192.168.56.164"(file:///C:/Users/bfloresg/OneDrive%20-%20NTT%20DATA%20EMEAL/Documents/PROYECTOS/NIUBIZ/POS%20COMERCIO/vas-mobile-automation-testing/NIUBIZ_POINT_APP_COMERCIO_POS/src/test/resources/features/POS%20PAX-A920%20APP-COMERCIO.feature:512)
Caused by: org.openqa.selenium.NoSuchElementException: Can't locate an element by this strategy: By.chained({By.id: switchCommands})
at io.appium.java_client.pagefactory.AppiumElementLocator.findElement(AppiumElementLocator.java:126)
at io.appium.java_client.pagefactory.interceptors.InterceptorOfASingleElement.intercept(InterceptorOfASingleElement.java:59)
at io.appium.java_client.android.AndroidElement$$EnhancerByCGLIB$$b598166c.isDisplayed((generated))
at org.openqa.selenium.support.ui.ExpectedConditions.elementIfVisible(ExpectedConditions.java:314)
at org.openqa.selenium.support.ui.ExpectedConditions.access$000(ExpectedConditions.java:43)
at org.openqa.selenium.support.ui.ExpectedConditions$10.apply(ExpectedConditions.java:300)
at org.openqa.selenium.support.ui.ExpectedConditions$10.apply(ExpectedConditions.java:297)
at org.openqa.selenium.support.ui.ExpectedConditions$23.apply(ExpectedConditions.java:670)
at org.openqa.selenium.support.ui.ExpectedConditions$23.apply(ExpectedConditions.java:666)
at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:249)
at com.nttdata.ct.mobile.view.ImpresoraScreen.toggleSwitchImprimirComandas(ImpresoraScreen.java:133)
at com.nttdata.ct.mobile.step.ImpresoraSteps.activarSwitchImprimirComandas(ImpresoraSteps.java:41)
at com.nttdata.ct.mobile.step.ImpresoraSteps.configuracionCompletaDeImpresoraConParametros(ImpresoraSteps.java:80)
at com.nttdata.ct.mobile.glue.ImpresoraSD.configuróUnaImpresoraY(ImpresoraSD.java:77)
at com.nttdata.ct.mobile.glue.ImpresoraSD$$FastClassBySpringCGLIB$$e8b33af4.invoke((generated))
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:779)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:64)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:692)
at com.nttdata.ct.mobile.glue.ImpresoraSD$$EnhancerBySpringCGLIB$$24a4ce18.configuróUnaImpresoraY((generated))
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at io.cucumber.java.Invoker.doInvoke(Invoker.java:66)
at io.cucumber.java.Invoker.invoke(Invoker.java:24)
at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47)
at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29)
at io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66)
at io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63)
at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10)
at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:86)
at io.cucumber.core.runner.TestStep.run(TestStep.java:57)
at io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51)
at io.cucumber.core.runner.TestCase.run(TestCase.java:95)
at io.cucumber.core.runner.Runner.runPickle(Runner.java:75)
at io.cucumber.junit.PickleRunners$WithStepDescriptions.lambda$run$1(PickleRunners.java:109)
at io.cucumber.core.runtime.CucumberExecutionContext.lambda$runTestCase$3(CucumberExecutionContext.java:151)
at io.cucumber.core.runtime.RethrowingThrowableCollector.executeAndThrow(RethrowingThrowableCollector.java:23)
at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:151)
at io.cucumber.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:106)
at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:144)
at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:28)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at io.cucumber.junit.FeatureRunner.run(FeatureRunner.java:137)
at io.cucumber.junit.Cucumber.runChild(Cucumber.java:196)
at io.cucumber.junit.Cucumber.runChild(Cucumber.java:89)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at io.cucumber.junit.Cucumber$RunBeforeAllHooks.evaluate(Cucumber.java:266)
at io.cucumber.junit.Cucumber$RunAfterAllHooks.evaluate(Cucumber.java:281)
at io.cucumber.junit.Cucumber$StartTestRun.evaluate(Cucumber.java:233)
at io.cucumber.junit.Cucumber$FinishTestRun.evaluate(Cucumber.java:248)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69)
at com.intellij.rt.junit.IdeaTestRunner$Repeater$1.execute(IdeaTestRunner.java:38)
at com.intellij.rt.execution.junit.TestsRepeater.repeat(TestsRepeater.java:11)
at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:35)
at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:232)
at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:55)
Caused by: org.openqa.selenium.TimeoutException: Expected condition failed: waiting for io.appium.java_client.pagefactory.AppiumElementLocator$WaitingFunction@7535c370 (tried for 1 second(s) with 500 milliseconds interval)
at org.openqa.selenium.support.ui.FluentWait.timeoutException(FluentWait.java:304)
at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:272)
at io.appium.java_client.pagefactory.AppiumElementLocator.waitFor(AppiumElementLocator.java:99)
at io.appium.java_client.pagefactory.AppiumElementLocator.findElement(AppiumElementLocator.java:119)
... 79 more
Caused by: org.openqa.selenium.NoSuchElementException: Cannot locate an element using By.chained({By.id: switchCommands})
For documentation on this error, please visit: https://www.seleniumhq.org/exceptions/no_such_element.html
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
System info: host: 'NTTD-JFLJMN3', ip: '192.168.0.151', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '11.0.24'
Driver info: driver.version: AndroidDriver
at io.appium.java_client.pagefactory.bys.builder.ByChained.findElement(ByChained.java:74)
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:315)
at io.appium.java_client.DefaultGenericMobileDriver.findElement(DefaultGenericMobileDriver.java:57)
at io.appium.java_client.AppiumDriver.findElement(AppiumDriver.java:1)
at io.appium.java_client.android.AndroidDriver.findElement(AndroidDriver.java:1)
at io.appium.java_client.pagefactory.bys.ContentMappedBy.findElement(ContentMappedBy.java:50)
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:315)
at io.appium.java_client.DefaultGenericMobileDriver.findElement(DefaultGenericMobileDriver.java:57)
at io.appium.java_client.AppiumDriver.findElement(AppiumDriver.java:1)
at io.appium.java_client.android.AndroidDriver.findElement(AndroidDriver.java:1)
at io.appium.java_client.pagefactory.AppiumElementLocator.lambda$0(AppiumElementLocator.java:120)
at io.appium.java_client.pagefactory.AppiumElementLocator$WaitingFunction.apply(AppiumElementLocator.java:172)
at io.appium.java_client.pagefactory.AppiumElementLocator$WaitingFunction.apply(AppiumElementLocator.java:1)
at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:249)
... 81 more
And
tocó la opción "Configuración" en el Menú de opciones
When
el usuario toque la opción "Impresora" en la vista Configuración
Then
será redirigido a la vista "Impresora" donde se deberá visualizar la impresora "impresora03" configurada previamente
When
el usuario toque en la impresora configurada "impresora03"
And
luego toque en el botón "Eliminar impresora" para eliminarlo
Then
será redirigido a la vista "Impresora" donde se deberá visualizar un mensaje "Sin impresora configurada"
After
Hook
@NBP-1482
@TEST_NBP-1222
@Automatizado
@2025Q1SP01
Scenario Outline: CP047 - Validar la funcionalidad ELIMINAR IMPRESORA
Before
Hook
Given
que el usuario inició sesión exitosamente con sus credenciales "311224_vcca7@yopmail.com" y "777777777@Aa" con perfil "Vendedor Comercio"
And
tocó la opción "Configuración" en el Menú de opciones
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for element to be clickable: Located by By.chained({By.id: switchCommands}) (tried for 15 second(s) with 500 milliseconds interval)
at org.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:95)
at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:272)
at com.nttdata.ct.mobile.view.ImpresoraScreen.toggleSwitchImprimirComandas(ImpresoraScreen.java:133)
at com.nttdata.ct.mobile.step.ImpresoraSteps.activarSwitchImprimirComandas(ImpresoraSteps.java:41)
at com.nttdata.ct.mobile.step.ImpresoraSteps.configuracionCompletaDeImpresoraConParametros(ImpresoraSteps.java:80)
at com.nttdata.ct.mobile.glue.ImpresoraSD.configuróUnaImpresoraY(ImpresoraSD.java:77)
at ✽.configuró una impresora "impresora04" y "192.168.56.164"(file:///C:/Users/bfloresg/OneDrive%20-%20NTT%20DATA%20EMEAL/Documents/PROYECTOS/NIUBIZ/POS%20COMERCIO/vas-mobile-automation-testing/NIUBIZ_POINT_APP_COMERCIO_POS/src/test/resources/features/POS%20PAX-A920%20APP-COMERCIO.feature:512)
Caused by: org.openqa.selenium.NoSuchElementException: Can't locate an element by this strategy: By.chained({By.id: switchCommands})
at io.appium.java_client.pagefactory.AppiumElementLocator.findElement(AppiumElementLocator.java:126)
at io.appium.java_client.pagefactory.interceptors.InterceptorOfASingleElement.intercept(InterceptorOfASingleElement.java:59)
at io.appium.java_client.android.AndroidElement$$EnhancerByCGLIB$$b598166c.isDisplayed((generated))
at org.openqa.selenium.support.ui.ExpectedConditions.elementIfVisible(ExpectedConditions.java:314)
at org.openqa.selenium.support.ui.ExpectedConditions.access$000(ExpectedConditions.java:43)
at org.openqa.selenium.support.ui.ExpectedConditions$10.apply(ExpectedConditions.java:300)
at org.openqa.selenium.support.ui.ExpectedConditions$10.apply(ExpectedConditions.java:297)
at org.openqa.selenium.support.ui.ExpectedConditions$23.apply(ExpectedConditions.java:670)
at org.openqa.selenium.support.ui.ExpectedConditions$23.apply(ExpectedConditions.java:666)
at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:249)
at com.nttdata.ct.mobile.view.ImpresoraScreen.toggleSwitchImprimirComandas(ImpresoraScreen.java:133)
at com.nttdata.ct.mobile.step.ImpresoraSteps.activarSwitchImprimirComandas(ImpresoraSteps.java:41)
at com.nttdata.ct.mobile.step.ImpresoraSteps.configuracionCompletaDeImpresoraConParametros(ImpresoraSteps.java:80)
at com.nttdata.ct.mobile.glue.ImpresoraSD.configuróUnaImpresoraY(ImpresoraSD.java:77)
at com.nttdata.ct.mobile.glue.ImpresoraSD$$FastClassBySpringCGLIB$$e8b33af4.invoke((generated))
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:779)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:64)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:692)
at com.nttdata.ct.mobile.glue.ImpresoraSD$$EnhancerBySpringCGLIB$$24a4ce18.configuróUnaImpresoraY((generated))
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at io.cucumber.java.Invoker.doInvoke(Invoker.java:66)
at io.cucumber.java.Invoker.invoke(Invoker.java:24)
at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47)
at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29)
at io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66)
at io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63)
at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10)
at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:86)
at io.cucumber.core.runner.TestStep.run(TestStep.java:57)
at io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51)
at io.cucumber.core.runner.TestCase.run(TestCase.java:95)
at io.cucumber.core.runner.Runner.runPickle(Runner.java:75)
at io.cucumber.junit.PickleRunners$WithStepDescriptions.lambda$run$1(PickleRunners.java:109)
at io.cucumber.core.runtime.CucumberExecutionContext.lambda$runTestCase$3(CucumberExecutionContext.java:151)
at io.cucumber.core.runtime.RethrowingThrowableCollector.executeAndThrow(RethrowingThrowableCollector.java:23)
at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:151)
at io.cucumber.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:106)
at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:144)
at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:28)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at io.cucumber.junit.FeatureRunner.run(FeatureRunner.java:137)
at io.cucumber.junit.Cucumber.runChild(Cucumber.java:196)
at io.cucumber.junit.Cucumber.runChild(Cucumber.java:89)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at io.cucumber.junit.Cucumber$RunBeforeAllHooks.evaluate(Cucumber.java:266)
at io.cucumber.junit.Cucumber$RunAfterAllHooks.evaluate(Cucumber.java:281)
at io.cucumber.junit.Cucumber$StartTestRun.evaluate(Cucumber.java:233)
at io.cucumber.junit.Cucumber$FinishTestRun.evaluate(Cucumber.java:248)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69)
at com.intellij.rt.junit.IdeaTestRunner$Repeater$1.execute(IdeaTestRunner.java:38)
at com.intellij.rt.execution.junit.TestsRepeater.repeat(TestsRepeater.java:11)
at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:35)
at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:232)
at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:55)
Caused by: org.openqa.selenium.TimeoutException: Expected condition failed: waiting for io.appium.java_client.pagefactory.AppiumElementLocator$WaitingFunction@565a0285 (tried for 1 second(s) with 500 milliseconds interval)
at org.openqa.selenium.support.ui.FluentWait.timeoutException(FluentWait.java:304)
at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:272)
at io.appium.java_client.pagefactory.AppiumElementLocator.waitFor(AppiumElementLocator.java:99)
at io.appium.java_client.pagefactory.AppiumElementLocator.findElement(AppiumElementLocator.java:119)
... 79 more
Caused by: org.openqa.selenium.NoSuchElementException: Cannot locate an element using By.chained({By.id: switchCommands})
For documentation on this error, please visit: https://www.seleniumhq.org/exceptions/no_such_element.html
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
System info: host: 'NTTD-JFLJMN3', ip: '192.168.0.151', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '11.0.24'
Driver info: driver.version: AndroidDriver
at io.appium.java_client.pagefactory.bys.builder.ByChained.findElement(ByChained.java:74)
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:315)
at io.appium.java_client.DefaultGenericMobileDriver.findElement(DefaultGenericMobileDriver.java:57)
at io.appium.java_client.AppiumDriver.findElement(AppiumDriver.java:1)
at io.appium.java_client.android.AndroidDriver.findElement(AndroidDriver.java:1)
at io.appium.java_client.pagefactory.bys.ContentMappedBy.findElement(ContentMappedBy.java:50)
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:315)
at io.appium.java_client.DefaultGenericMobileDriver.findElement(DefaultGenericMobileDriver.java:57)
at io.appium.java_client.AppiumDriver.findElement(AppiumDriver.java:1)
at io.appium.java_client.android.AndroidDriver.findElement(AndroidDriver.java:1)
at io.appium.java_client.pagefactory.AppiumElementLocator.lambda$0(AppiumElementLocator.java:120)
at io.appium.java_client.pagefactory.AppiumElementLocator$WaitingFunction.apply(AppiumElementLocator.java:172)
at io.appium.java_client.pagefactory.AppiumElementLocator$WaitingFunction.apply(AppiumElementLocator.java:1)
at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:249)
... 81 more
And
tocó la opción "Configuración" en el Menú de opciones
When
el usuario toque la opción "Impresora" en la vista Configuración
Then
será redirigido a la vista "Impresora" donde se deberá visualizar la impresora "impresora04" configurada previamente
When
el usuario toque en la impresora configurada "impresora04"
And
luego toque en el botón "Eliminar impresora" para eliminarlo
Then
será redirigido a la vista "Impresora" donde se deberá visualizar un mensaje "Sin impresora configurada"
After
Hook
@NBP-1482
@TEST_NBP-1425
@Automatizado
@2025Q1SP01
Scenario Outline: CP052 - Validar un flujo de Venta rápida con Plan Inicia, Boleta Simple y pago con Efectivo
Before
Hook
Given
que el usuario inició sesión exitosamente con sus credenciales "311224_vcia6@yopmail.com" y "777777777@Aa" con perfil "Vendedor Comercio"
And
configuró una impresora
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for element to be clickable: By.xpath: //android.widget.FrameLayout/android.widget.TextView[@text="Ventas"] (tried for 35 second(s) with 500 milliseconds interval)
at org.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:95)
at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:272)
at com.nttdata.ct.mobile.view.MenuDeOpcionesScreen.tocarOpcion(MenuDeOpcionesScreen.java:68)
at com.nttdata.ct.mobile.step.MenuDeOpcionesSteps.tocarOpcionPorSuNombre(MenuDeOpcionesSteps.java:38)
at com.nttdata.ct.mobile.glue.MenuDeOpcionesSD.tocóLaOpciónEnElMenúDeOpciones(MenuDeOpcionesSD.java:66)
at ✽.tocó la opción "Ventas" en el Menú de opciones(file:///C:/Users/bfloresg/OneDrive%20-%20NTT%20DATA%20EMEAL/Documents/PROYECTOS/NIUBIZ/POS%20COMERCIO/vas-mobile-automation-testing/NIUBIZ_POINT_APP_COMERCIO_POS/src/test/resources/features/POS%20PAX-A920%20APP-COMERCIO.feature:598)
Caused by: org.openqa.selenium.NoSuchElementException: An element could not be located on the page using the given search parameters.
For documentation on this error, please visit: https://www.seleniumhq.org/exceptions/no_such_element.html
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
System info: host: 'NTTD-JFLJMN3', ip: '192.168.0.151', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '11.0.24'
Driver info: io.appium.java_client.android.AndroidDriver
Capabilities {app: C:\Users\bfloresg\OneDrive ..., appActivity: com.startapps.kipu_pos_reta..., appPackage: com.startapps.kipu_pos_reta..., autoGrantPermissions: true, automationName: UiAutomator2, databaseEnabled: false, desired: {app: C:\Users\bfloresg\OneDrive ..., appActivity: com.startapps.kipu_pos_reta..., appPackage: com.startapps.kipu_pos_reta..., autoGrantPermissions: true, automationName: UiAutomator2, noSign: true, platformName: android}, deviceApiLevel: 25, deviceManufacturer: PAX, deviceModel: A920, deviceName: 0821415971, deviceScreenDensity: 320, deviceScreenSize: 720x1280, deviceUDID: 0821415971, javascriptEnabled: true, locationContextEnabled: false, networkConnectionEnabled: true, noSign: true, pixelRatio: 2, platform: LINUX, platformName: Android, platformVersion: 7.1.2, statBarHeight: 48, takesScreenshot: true, viewportRect: {height: 1136, left: 0, top: 48, width: 720}, warnings: {}, webStorageEnabled: false}
Session ID: 6db7f8d2-b141-4bfd-badd-1e6fa7435c39
*** Element info: {Using=xpath, value=//android.widget.FrameLayout/android.widget.TextView[@text="Ventas"]}
at jdk.internal.reflect.GeneratedConstructorAccessor34.newInstance(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:187)
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:122)
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)
at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:250)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)
at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:41)
at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1)
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:323)
at io.appium.java_client.DefaultGenericMobileDriver.findElement(DefaultGenericMobileDriver.java:61)
at io.appium.java_client.AppiumDriver.findElement(AppiumDriver.java:1)
at io.appium.java_client.android.AndroidDriver.findElement(AndroidDriver.java:1)
at org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:428)
at io.appium.java_client.DefaultGenericMobileDriver.findElementByXPath(DefaultGenericMobileDriver.java:151)
at io.appium.java_client.AppiumDriver.findElementByXPath(AppiumDriver.java:1)
at io.appium.java_client.android.AndroidDriver.findElementByXPath(AndroidDriver.java:1)
at org.openqa.selenium.By$ByXPath.findElement(By.java:353)
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:315)
at io.appium.java_client.DefaultGenericMobileDriver.findElement(DefaultGenericMobileDriver.java:57)
at io.appium.java_client.AppiumDriver.findElement(AppiumDriver.java:1)
at io.appium.java_client.android.AndroidDriver.findElement(AndroidDriver.java:1)
at org.openqa.selenium.support.ui.ExpectedConditions$7.apply(ExpectedConditions.java:205)
at org.openqa.selenium.support.ui.ExpectedConditions$7.apply(ExpectedConditions.java:201)
at org.openqa.selenium.support.ui.ExpectedConditions$22.apply(ExpectedConditions.java:641)
at org.openqa.selenium.support.ui.ExpectedConditions$22.apply(ExpectedConditions.java:638)
at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:249)
at com.nttdata.ct.mobile.view.MenuDeOpcionesScreen.tocarOpcion(MenuDeOpcionesScreen.java:68)
at com.nttdata.ct.mobile.step.MenuDeOpcionesSteps.tocarOpcionPorSuNombre(MenuDeOpcionesSteps.java:38)
at com.nttdata.ct.mobile.glue.MenuDeOpcionesSD.tocóLaOpciónEnElMenúDeOpciones(MenuDeOpcionesSD.java:66)
at com.nttdata.ct.mobile.glue.MenuDeOpcionesSD$$FastClassBySpringCGLIB$$bee39a8c.invoke((generated))
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:779)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:64)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:692)
at com.nttdata.ct.mobile.glue.MenuDeOpcionesSD$$EnhancerBySpringCGLIB$$61426be0.tocóLaOpciónEnElMenúDeOpciones((generated))
at jdk.internal.reflect.GeneratedMethodAccessor157.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at io.cucumber.java.Invoker.doInvoke(Invoker.java:66)
at io.cucumber.java.Invoker.invoke(Invoker.java:24)
at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47)
at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29)
at io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66)
at io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63)
at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10)
at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:86)
at io.cucumber.core.runner.TestStep.run(TestStep.java:57)
at io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51)
at io.cucumber.core.runner.TestCase.run(TestCase.java:95)
at io.cucumber.core.runner.Runner.runPickle(Runner.java:75)
at io.cucumber.junit.PickleRunners$WithStepDescriptions.lambda$run$1(PickleRunners.java:109)
at io.cucumber.core.runtime.CucumberExecutionContext.lambda$runTestCase$3(CucumberExecutionContext.java:151)
at io.cucumber.core.runtime.RethrowingThrowableCollector.executeAndThrow(RethrowingThrowableCollector.java:23)
at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:151)
at io.cucumber.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:106)
at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:144)
at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:28)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at io.cucumber.junit.FeatureRunner.run(FeatureRunner.java:137)
at io.cucumber.junit.Cucumber.runChild(Cucumber.java:196)
at io.cucumber.junit.Cucumber.runChild(Cucumber.java:89)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at io.cucumber.junit.Cucumber$RunBeforeAllHooks.evaluate(Cucumber.java:266)
at io.cucumber.junit.Cucumber$RunAfterAllHooks.evaluate(Cucumber.java:281)
at io.cucumber.junit.Cucumber$StartTestRun.evaluate(Cucumber.java:233)
at io.cucumber.junit.Cucumber$FinishTestRun.evaluate(Cucumber.java:248)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69)
at com.intellij.rt.junit.IdeaTestRunner$Repeater$1.execute(IdeaTestRunner.java:38)
at com.intellij.rt.execution.junit.TestsRepeater.repeat(TestsRepeater.java:11)
at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:35)
at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:232)
at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:55)
And
fue redirigido a la vista "Venta rápida"
When
elija cualquier producto de la categoria "Limpieza" y agregue cualquier cantidad del mismo
And
elija cualquier producto de la categoria "Sillas" y agregue cualquier cantidad del mismo
And
elija cualquier producto de la categoria "Platos para Mascotas" y agregue cualquier cantidad del mismo
And
agregue una promoción
And
termine de elegir sus productos
And
termine de realizar su pedido
And
elija Boleta Simple como Comprobante de venta
And
elija el método de pago en Efectivo
And
al procesarse el pago y el usuario "311224_vcia6@yopmail.com" toque la opción Nueva venta
Then
deberá ser redirigido a al Menú de opciones
After
Hook
@NBP-1482
@TEST_NBP-1426
@Automatizado
@2025Q1SP01
Scenario Outline: CP053 - Validar un flujo de Venta rápida con Plan Inicia, Boleta DNI y pago con Tarjeta
Before
Hook
Given
que el usuario inició sesión exitosamente con sus credenciales "311224_vcia6@yopmail.com" y "777777777@Aa" con perfil "Vendedor Comercio"
And
configuró una impresora
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for element to be clickable: By.xpath: //android.widget.FrameLayout/android.widget.TextView[@text="Ventas"] (tried for 35 second(s) with 500 milliseconds interval)
at org.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:95)
at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:272)
at com.nttdata.ct.mobile.view.MenuDeOpcionesScreen.tocarOpcion(MenuDeOpcionesScreen.java:68)
at com.nttdata.ct.mobile.step.MenuDeOpcionesSteps.tocarOpcionPorSuNombre(MenuDeOpcionesSteps.java:38)
at com.nttdata.ct.mobile.glue.MenuDeOpcionesSD.tocóLaOpciónEnElMenúDeOpciones(MenuDeOpcionesSD.java:66)
at ✽.tocó la opción "Ventas" en el Menú de opciones(file:///C:/Users/bfloresg/OneDrive%20-%20NTT%20DATA%20EMEAL/Documents/PROYECTOS/NIUBIZ/POS%20COMERCIO/vas-mobile-automation-testing/NIUBIZ_POINT_APP_COMERCIO_POS/src/test/resources/features/POS%20PAX-A920%20APP-COMERCIO.feature:619)
Caused by: org.openqa.selenium.NoSuchElementException: An element could not be located on the page using the given search parameters.
For documentation on this error, please visit: https://www.seleniumhq.org/exceptions/no_such_element.html
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
System info: host: 'NTTD-JFLJMN3', ip: '192.168.0.151', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '11.0.24'
Driver info: io.appium.java_client.android.AndroidDriver
Capabilities {app: C:\Users\bfloresg\OneDrive ..., appActivity: com.startapps.kipu_pos_reta..., appPackage: com.startapps.kipu_pos_reta..., autoGrantPermissions: true, automationName: UiAutomator2, databaseEnabled: false, desired: {app: C:\Users\bfloresg\OneDrive ..., appActivity: com.startapps.kipu_pos_reta..., appPackage: com.startapps.kipu_pos_reta..., autoGrantPermissions: true, automationName: UiAutomator2, noSign: true, platformName: android}, deviceApiLevel: 25, deviceManufacturer: PAX, deviceModel: A920, deviceName: 0821415971, deviceScreenDensity: 320, deviceScreenSize: 720x1280, deviceUDID: 0821415971, javascriptEnabled: true, locationContextEnabled: false, networkConnectionEnabled: true, noSign: true, pixelRatio: 2, platform: LINUX, platformName: Android, platformVersion: 7.1.2, statBarHeight: 48, takesScreenshot: true, viewportRect: {height: 1136, left: 0, top: 48, width: 720}, warnings: {}, webStorageEnabled: false}
Session ID: c9f0cfe2-ef7d-4cfb-9911-0591d0680659
*** Element info: {Using=xpath, value=//android.widget.FrameLayout/android.widget.TextView[@text="Ventas"]}
at jdk.internal.reflect.GeneratedConstructorAccessor34.newInstance(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:187)
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:122)
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)
at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:250)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)
at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:41)
at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1)
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:323)
at io.appium.java_client.DefaultGenericMobileDriver.findElement(DefaultGenericMobileDriver.java:61)
at io.appium.java_client.AppiumDriver.findElement(AppiumDriver.java:1)
at io.appium.java_client.android.AndroidDriver.findElement(AndroidDriver.java:1)
at org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:428)
at io.appium.java_client.DefaultGenericMobileDriver.findElementByXPath(DefaultGenericMobileDriver.java:151)
at io.appium.java_client.AppiumDriver.findElementByXPath(AppiumDriver.java:1)
at io.appium.java_client.android.AndroidDriver.findElementByXPath(AndroidDriver.java:1)
at org.openqa.selenium.By$ByXPath.findElement(By.java:353)
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:315)
at io.appium.java_client.DefaultGenericMobileDriver.findElement(DefaultGenericMobileDriver.java:57)
at io.appium.java_client.AppiumDriver.findElement(AppiumDriver.java:1)
at io.appium.java_client.android.AndroidDriver.findElement(AndroidDriver.java:1)
at org.openqa.selenium.support.ui.ExpectedConditions$7.apply(ExpectedConditions.java:205)
at org.openqa.selenium.support.ui.ExpectedConditions$7.apply(ExpectedConditions.java:201)
at org.openqa.selenium.support.ui.ExpectedConditions$22.apply(ExpectedConditions.java:641)
at org.openqa.selenium.support.ui.ExpectedConditions$22.apply(ExpectedConditions.java:638)
at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:249)
at com.nttdata.ct.mobile.view.MenuDeOpcionesScreen.tocarOpcion(MenuDeOpcionesScreen.java:68)
at com.nttdata.ct.mobile.step.MenuDeOpcionesSteps.tocarOpcionPorSuNombre(MenuDeOpcionesSteps.java:38)
at com.nttdata.ct.mobile.glue.MenuDeOpcionesSD.tocóLaOpciónEnElMenúDeOpciones(MenuDeOpcionesSD.java:66)
at com.nttdata.ct.mobile.glue.MenuDeOpcionesSD$$FastClassBySpringCGLIB$$bee39a8c.invoke((generated))
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:779)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:64)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:692)
at com.nttdata.ct.mobile.glue.MenuDeOpcionesSD$$EnhancerBySpringCGLIB$$61426be0.tocóLaOpciónEnElMenúDeOpciones((generated))
at jdk.internal.reflect.GeneratedMethodAccessor157.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at io.cucumber.java.Invoker.doInvoke(Invoker.java:66)
at io.cucumber.java.Invoker.invoke(Invoker.java:24)
at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47)
at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29)
at io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66)
at io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63)
at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10)
at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:86)
at io.cucumber.core.runner.TestStep.run(TestStep.java:57)
at io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51)
at io.cucumber.core.runner.TestCase.run(TestCase.java:95)
at io.cucumber.core.runner.Runner.runPickle(Runner.java:75)
at io.cucumber.junit.PickleRunners$WithStepDescriptions.lambda$run$1(PickleRunners.java:109)
at io.cucumber.core.runtime.CucumberExecutionContext.lambda$runTestCase$3(CucumberExecutionContext.java:151)
at io.cucumber.core.runtime.RethrowingThrowableCollector.executeAndThrow(RethrowingThrowableCollector.java:23)
at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:151)
at io.cucumber.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:106)
at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:144)
at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:28)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at io.cucumber.junit.FeatureRunner.run(FeatureRunner.java:137)
at io.cucumber.junit.Cucumber.runChild(Cucumber.java:196)
at io.cucumber.junit.Cucumber.runChild(Cucumber.java:89)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at io.cucumber.junit.Cucumber$RunBeforeAllHooks.evaluate(Cucumber.java:266)
at io.cucumber.junit.Cucumber$RunAfterAllHooks.evaluate(Cucumber.java:281)
at io.cucumber.junit.Cucumber$StartTestRun.evaluate(Cucumber.java:233)
at io.cucumber.junit.Cucumber$FinishTestRun.evaluate(Cucumber.java:248)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69)
at com.intellij.rt.junit.IdeaTestRunner$Repeater$1.execute(IdeaTestRunner.java:38)
at com.intellij.rt.execution.junit.TestsRepeater.repeat(TestsRepeater.java:11)
at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:35)
at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:232)
at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:55)
And
fue redirigido a la vista "Venta rápida"
When
elija cualquier producto de la categoria "Limpieza" y agregue cualquier cantidad del mismo
And
elija cualquier producto de la categoria "Sillas" y agregue cualquier cantidad del mismo
And
elija cualquier producto de la categoria "Platos para Mascotas" y agregue cualquier cantidad del mismo
And
agregue una promoción
And
termine de elegir sus productos
And
termine de realizar su pedido
And
elija boleta DNI, llene los campos obligatorios "Bryan", "47967286" y proceda a continuar
And
elija el método de pago Tarjeta
And
al procesarse el pago y el usuario "311224_vcia6@yopmail.com" toque la opción Nueva venta
Then
deberá ser redirigido a al Menú de opciones
org.openqa.selenium.WebDriverException: Connection refused: connect Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03' System info: host: 'NTTD-JFLJMN3', ip: '192.168.0.151', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '11.0.24' Driver info: driver.version: AndroidDriver at io.appium.java_client.remote.AppiumCommandExecutor.lambda$6(AppiumCommandExecutor.java:262) at java.base/java.util.Optional.orElseGet(Optional.java:369) at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:261) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:45) at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) at io.appium.java_client.screenrecording.CanRecordScreen.stopRecordingScreen(CanRecordScreen.java:72) at com.nttdata.ct.mobile.service.screenrecorder.ScreenRecorder.stopRecording(ScreenRecorder.java:60) at com.nttdata.ct.mobile.lib.MobileDriverManager.quitDriver(MobileDriverManager.java:122) at com.nttdata.ct.mobile.hooks.Hooks.afterScenario(Hooks.java:33) Caused by: java.net.ConnectException: Connection refused: connect at java.base/java.net.PlainSocketImpl.waitForConnect(Native Method) at java.base/java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:107) at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:412) at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:255) at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:237) at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.base/java.net.Socket.connect(Socket.java:609) at okhttp3.internal.platform.Platform.connectSocket(Platform.java:129) at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:245) at okhttp3.internal.connection.RealConnection.connect(RealConnection.java:165) at okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:257) at okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:135) at okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:114) at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:126) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:200) at okhttp3.RealCall.execute(RealCall.java:77) at org.openqa.selenium.remote.internal.OkHttpClient.execute(OkHttpClient.java:103) at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:155) at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:250) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:45) at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) at io.appium.java_client.screenrecording.CanRecordScreen.stopRecordingScreen(CanRecordScreen.java:72) at com.nttdata.ct.mobile.service.screenrecorder.ScreenRecorder.stopRecording(ScreenRecorder.java:60) at com.nttdata.ct.mobile.lib.MobileDriverManager.quitDriver(MobileDriverManager.java:122) at com.nttdata.ct.mobile.hooks.Hooks.afterScenario(Hooks.java:33) at jdk.internal.reflect.GeneratedMethodAccessor152.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at io.cucumber.java.Invoker.doInvoke(Invoker.java:66) at io.cucumber.java.Invoker.invoke(Invoker.java:24) at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47) at io.cucumber.java.JavaHookDefinition.execute(JavaHookDefinition.java:64) at io.cucumber.core.runner.CoreHookDefinition.execute(CoreHookDefinition.java:46) at io.cucumber.core.runner.HookDefinitionMatch.runStep(HookDefinitionMatch.java:21) at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10) at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:86) at io.cucumber.core.runner.TestStep.run(TestStep.java:57) at io.cucumber.core.runner.TestCase.run(TestCase.java:101) at io.cucumber.core.runner.Runner.runPickle(Runner.java:75) at io.cucumber.junit.PickleRunners$WithStepDescriptions.lambda$run$1(PickleRunners.java:109) at io.cucumber.core.runtime.CucumberExecutionContext.lambda$runTestCase$3(CucumberExecutionContext.java:151) at io.cucumber.core.runtime.RethrowingThrowableCollector.executeAndThrow(RethrowingThrowableCollector.java:23) at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:151) at io.cucumber.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:106) at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:144) at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:28) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at io.cucumber.junit.FeatureRunner.run(FeatureRunner.java:137) at io.cucumber.junit.Cucumber.runChild(Cucumber.java:196) at io.cucumber.junit.Cucumber.runChild(Cucumber.java:89) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at io.cucumber.junit.Cucumber$RunBeforeAllHooks.evaluate(Cucumber.java:266) at io.cucumber.junit.Cucumber$RunAfterAllHooks.evaluate(Cucumber.java:281) at io.cucumber.junit.Cucumber$StartTestRun.evaluate(Cucumber.java:233) at io.cucumber.junit.Cucumber$FinishTestRun.evaluate(Cucumber.java:248) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69) at com.intellij.rt.junit.IdeaTestRunner$Repeater$1.execute(IdeaTestRunner.java:38) at com.intellij.rt.execution.junit.TestsRepeater.repeat(TestsRepeater.java:11) at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:35) at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:232) at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:55)
@NBP-1482
@TEST_NBP-1427
@Automatizado
@2025Q1SP01
Scenario Outline: CP054 - Validar un flujo de Venta rápida con Plan Inicia, Boleta CE y pago con Billetera
Before
Hook
Given
que el usuario inició sesión exitosamente con sus credenciales "311224_vcia6@yopmail.com" y "777777777@Aa" con perfil "Vendedor Comercio"
+ Show Error
org.openqa.selenium.WebDriverException: Connection refused: connect Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03' System info: host: 'NTTD-JFLJMN3', ip: '192.168.0.151', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '11.0.24' Driver info: driver.version: SetDriver at io.appium.java_client.remote.AppiumCommandExecutor.lambda$6(AppiumCommandExecutor.java:262) at java.base/java.util.Optional.orElseGet(Optional.java:369) at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:261) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:41) at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:213) at io.appium.java_client.AppiumDriver.startSession(AppiumDriver.java:363) at org.openqa.selenium.remote.RemoteWebDriver.(init)(RemoteWebDriver.java:131) at io.appium.java_client.DefaultGenericMobileDriver.(init)(DefaultGenericMobileDriver.java:37) at io.appium.java_client.AppiumDriver.(init)(AppiumDriver.java:89) at io.appium.java_client.AppiumDriver.(init)(AppiumDriver.java:99) at io.appium.java_client.android.AndroidDriver.(init)(AndroidDriver.java:97) at com.nttdata.ct.mobile.lib.SetDriver.configAndroidDriver(SetDriver.java:35) at com.nttdata.ct.mobile.lib.MobileDriverManager.setUpDriver(MobileDriverManager.java:50) at com.nttdata.ct.mobile.glue.LoginSD.queElUsuarioInicióSesiónExitosamenteConSusCredencialesYConPerfil(LoginSD.java:100) at ✽.que el usuario inició sesión exitosamente con sus credenciales "311224_vcia6@yopmail.com" y "777777777@Aa" con perfil "Vendedor Comercio"(file:///C:/Users/bfloresg/OneDrive%20-%20NTT%20DATA%20EMEAL/Documents/PROYECTOS/NIUBIZ/POS%20COMERCIO/vas-mobile-automation-testing/NIUBIZ_POINT_APP_COMERCIO_POS/src/test/resources/features/POS%20PAX-A920%20APP-COMERCIO.feature:638) Caused by: java.net.ConnectException: Connection refused: connect at java.base/java.net.PlainSocketImpl.waitForConnect(Native Method) at java.base/java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:107) at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:412) at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:255) at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:237) at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.base/java.net.Socket.connect(Socket.java:609) at okhttp3.internal.platform.Platform.connectSocket(Platform.java:129) at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:245) at okhttp3.internal.connection.RealConnection.connect(RealConnection.java:165) at okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:257) at okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:135) at okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:114) at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:126) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:200) at okhttp3.RealCall.execute(RealCall.java:77) at org.openqa.selenium.remote.internal.OkHttpClient.execute(OkHttpClient.java:103) at io.appium.java_client.remote.AppiumCommandExecutor.lambda$1(AppiumCommandExecutor.java:162) at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:105) at jdk.internal.reflect.GeneratedMethodAccessor139.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at io.appium.java_client.remote.AppiumCommandExecutor$1.createSession(AppiumCommandExecutor.java:193) at io.appium.java_client.remote.AppiumCommandExecutor.createSession(AppiumCommandExecutor.java:225) at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:250) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:41) at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:213) at io.appium.java_client.AppiumDriver.startSession(AppiumDriver.java:363) at org.openqa.selenium.remote.RemoteWebDriver.(init)(RemoteWebDriver.java:131) at io.appium.java_client.DefaultGenericMobileDriver.(init)(DefaultGenericMobileDriver.java:37) at io.appium.java_client.AppiumDriver.(init)(AppiumDriver.java:89) at io.appium.java_client.AppiumDriver.(init)(AppiumDriver.java:99) at io.appium.java_client.android.AndroidDriver.(init)(AndroidDriver.java:97) at com.nttdata.ct.mobile.lib.SetDriver.configAndroidDriver(SetDriver.java:35) at com.nttdata.ct.mobile.lib.MobileDriverManager.setUpDriver(MobileDriverManager.java:50) at com.nttdata.ct.mobile.glue.LoginSD.queElUsuarioInicióSesiónExitosamenteConSusCredencialesYConPerfil(LoginSD.java:100) at com.nttdata.ct.mobile.glue.LoginSD$$FastClassBySpringCGLIB$$7eb0c213.invoke((generated)) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:779) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:64) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:692) at com.nttdata.ct.mobile.glue.LoginSD$$EnhancerBySpringCGLIB$$719f4ed5.queElUsuarioInicióSesiónExitosamenteConSusCredencialesYConPerfil((generated)) at jdk.internal.reflect.GeneratedMethodAccessor156.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at io.cucumber.java.Invoker.doInvoke(Invoker.java:66) at io.cucumber.java.Invoker.invoke(Invoker.java:24) at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47) at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29) at io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66) at io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63) at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10) at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:86) at io.cucumber.core.runner.TestStep.run(TestStep.java:57) at io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51) at io.cucumber.core.runner.TestCase.run(TestCase.java:95) at io.cucumber.core.runner.Runner.runPickle(Runner.java:75) at io.cucumber.junit.PickleRunners$WithStepDescriptions.lambda$run$1(PickleRunners.java:109) at io.cucumber.core.runtime.CucumberExecutionContext.lambda$runTestCase$3(CucumberExecutionContext.java:151) at io.cucumber.core.runtime.RethrowingThrowableCollector.executeAndThrow(RethrowingThrowableCollector.java:23) at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:151) at io.cucumber.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:106) at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:144) at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:28) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at io.cucumber.junit.FeatureRunner.run(FeatureRunner.java:137) at io.cucumber.junit.Cucumber.runChild(Cucumber.java:196) at io.cucumber.junit.Cucumber.runChild(Cucumber.java:89) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at io.cucumber.junit.Cucumber$RunBeforeAllHooks.evaluate(Cucumber.java:266) at io.cucumber.junit.Cucumber$RunAfterAllHooks.evaluate(Cucumber.java:281) at io.cucumber.junit.Cucumber$StartTestRun.evaluate(Cucumber.java:233) at io.cucumber.junit.Cucumber$FinishTestRun.evaluate(Cucumber.java:248) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69) at com.intellij.rt.junit.IdeaTestRunner$Repeater$1.execute(IdeaTestRunner.java:38) at com.intellij.rt.execution.junit.TestsRepeater.repeat(TestsRepeater.java:11) at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:35) at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:232) at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:55)
And
configuró una impresora
And
tocó la opción "Ventas" en el Menú de opciones
And
fue redirigido a la vista "Venta rápida"
When
elija cualquier producto de la categoria "Limpieza" y agregue cualquier cantidad del mismo
And
elija cualquier producto de la categoria "Sillas" y agregue cualquier cantidad del mismo
And
elija cualquier producto de la categoria "Platos para Mascotas" y agregue cualquier cantidad del mismo
And
agregue una promoción
And
termine de elegir sus productos
And
termine de realizar su pedido
And
elija Boleta CE, llene los campos obligatorios "Bryan" "479672860000" y proceda a continuar
And
elija el método de pago Billetera
And
al procesarse el pago y el usuario "311224_vcia6@yopmail.com" toque la opción Nueva venta
Then
deberá ser redirigido a al Menú de opciones
org.openqa.selenium.WebDriverException: Connection refused: connect Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03' System info: host: 'NTTD-JFLJMN3', ip: '192.168.0.151', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '11.0.24' Driver info: driver.version: RemoteWebDriver at io.appium.java_client.remote.AppiumCommandExecutor.lambda$6(AppiumCommandExecutor.java:262) at java.base/java.util.Optional.orElseGet(Optional.java:369) at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:261) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:45) at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) at org.openqa.selenium.remote.RemoteWebDriver.getScreenshotAs(RemoteWebDriver.java:295) at com.nttdata.ct.mobile.service.stepdefinition.ManageScenario.printFullView(ManageScenario.java:27) at com.nttdata.ct.mobile.service.stepdefinition.ManageScenario.shotWhenFail(ManageScenario.java:33) at com.nttdata.ct.mobile.hooks.Hooks.tearDown(Hooks.java:38) Caused by: java.net.ConnectException: Connection refused: connect at java.base/java.net.PlainSocketImpl.waitForConnect(Native Method) at java.base/java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:107) at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:412) at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:255) at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:237) at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.base/java.net.Socket.connect(Socket.java:609) at okhttp3.internal.platform.Platform.connectSocket(Platform.java:129) at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:245) at okhttp3.internal.connection.RealConnection.connect(RealConnection.java:165) at okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:257) at okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:135) at okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:114) at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:126) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:200) at okhttp3.RealCall.execute(RealCall.java:77) at org.openqa.selenium.remote.internal.OkHttpClient.execute(OkHttpClient.java:103) at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:155) at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:250) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:45) at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) at org.openqa.selenium.remote.RemoteWebDriver.getScreenshotAs(RemoteWebDriver.java:295) at com.nttdata.ct.mobile.service.stepdefinition.ManageScenario.printFullView(ManageScenario.java:27) at com.nttdata.ct.mobile.service.stepdefinition.ManageScenario.shotWhenFail(ManageScenario.java:33) at com.nttdata.ct.mobile.hooks.Hooks.tearDown(Hooks.java:38) at jdk.internal.reflect.GeneratedMethodAccessor151.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at io.cucumber.java.Invoker.doInvoke(Invoker.java:66) at io.cucumber.java.Invoker.invoke(Invoker.java:24) at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47) at io.cucumber.java.JavaHookDefinition.execute(JavaHookDefinition.java:64) at io.cucumber.core.runner.CoreHookDefinition.execute(CoreHookDefinition.java:46) at io.cucumber.core.runner.HookDefinitionMatch.runStep(HookDefinitionMatch.java:21) at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10) at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:86) at io.cucumber.core.runner.TestStep.run(TestStep.java:57) at io.cucumber.core.runner.TestCase.run(TestCase.java:101) at io.cucumber.core.runner.Runner.runPickle(Runner.java:75) at io.cucumber.junit.PickleRunners$WithStepDescriptions.lambda$run$1(PickleRunners.java:109) at io.cucumber.core.runtime.CucumberExecutionContext.lambda$runTestCase$3(CucumberExecutionContext.java:151) at io.cucumber.core.runtime.RethrowingThrowableCollector.executeAndThrow(RethrowingThrowableCollector.java:23) at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:151) at io.cucumber.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:106) at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:144) at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:28) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at io.cucumber.junit.FeatureRunner.run(FeatureRunner.java:137) at io.cucumber.junit.Cucumber.runChild(Cucumber.java:196) at io.cucumber.junit.Cucumber.runChild(Cucumber.java:89) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at io.cucumber.junit.Cucumber$RunBeforeAllHooks.evaluate(Cucumber.java:266) at io.cucumber.junit.Cucumber$RunAfterAllHooks.evaluate(Cucumber.java:281) at io.cucumber.junit.Cucumber$StartTestRun.evaluate(Cucumber.java:233) at io.cucumber.junit.Cucumber$FinishTestRun.evaluate(Cucumber.java:248) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69) at com.intellij.rt.junit.IdeaTestRunner$Repeater$1.execute(IdeaTestRunner.java:38) at com.intellij.rt.execution.junit.TestsRepeater.repeat(TestsRepeater.java:11) at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:35) at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:232) at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:55)
org.openqa.selenium.WebDriverException: Connection refused: connect Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03' System info: host: 'NTTD-JFLJMN3', ip: '192.168.0.151', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '11.0.24' Driver info: driver.version: AndroidDriver at io.appium.java_client.remote.AppiumCommandExecutor.lambda$6(AppiumCommandExecutor.java:262) at java.base/java.util.Optional.orElseGet(Optional.java:369) at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:261) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:45) at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) at io.appium.java_client.screenrecording.CanRecordScreen.stopRecordingScreen(CanRecordScreen.java:72) at com.nttdata.ct.mobile.service.screenrecorder.ScreenRecorder.stopRecording(ScreenRecorder.java:60) at com.nttdata.ct.mobile.lib.MobileDriverManager.quitDriver(MobileDriverManager.java:122) at com.nttdata.ct.mobile.hooks.Hooks.afterScenario(Hooks.java:33) Caused by: java.net.ConnectException: Connection refused: connect at java.base/java.net.PlainSocketImpl.waitForConnect(Native Method) at java.base/java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:107) at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:412) at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:255) at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:237) at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.base/java.net.Socket.connect(Socket.java:609) at okhttp3.internal.platform.Platform.connectSocket(Platform.java:129) at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:245) at okhttp3.internal.connection.RealConnection.connect(RealConnection.java:165) at okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:257) at okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:135) at okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:114) at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:126) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:200) at okhttp3.RealCall.execute(RealCall.java:77) at org.openqa.selenium.remote.internal.OkHttpClient.execute(OkHttpClient.java:103) at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:155) at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:250) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:45) at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) at io.appium.java_client.screenrecording.CanRecordScreen.stopRecordingScreen(CanRecordScreen.java:72) at com.nttdata.ct.mobile.service.screenrecorder.ScreenRecorder.stopRecording(ScreenRecorder.java:60) at com.nttdata.ct.mobile.lib.MobileDriverManager.quitDriver(MobileDriverManager.java:122) at com.nttdata.ct.mobile.hooks.Hooks.afterScenario(Hooks.java:33) at jdk.internal.reflect.GeneratedMethodAccessor152.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at io.cucumber.java.Invoker.doInvoke(Invoker.java:66) at io.cucumber.java.Invoker.invoke(Invoker.java:24) at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47) at io.cucumber.java.JavaHookDefinition.execute(JavaHookDefinition.java:64) at io.cucumber.core.runner.CoreHookDefinition.execute(CoreHookDefinition.java:46) at io.cucumber.core.runner.HookDefinitionMatch.runStep(HookDefinitionMatch.java:21) at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10) at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:86) at io.cucumber.core.runner.TestStep.run(TestStep.java:57) at io.cucumber.core.runner.TestCase.run(TestCase.java:101) at io.cucumber.core.runner.Runner.runPickle(Runner.java:75) at io.cucumber.junit.PickleRunners$WithStepDescriptions.lambda$run$1(PickleRunners.java:109) at io.cucumber.core.runtime.CucumberExecutionContext.lambda$runTestCase$3(CucumberExecutionContext.java:151) at io.cucumber.core.runtime.RethrowingThrowableCollector.executeAndThrow(RethrowingThrowableCollector.java:23) at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:151) at io.cucumber.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:106) at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:144) at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:28) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at io.cucumber.junit.FeatureRunner.run(FeatureRunner.java:137) at io.cucumber.junit.Cucumber.runChild(Cucumber.java:196) at io.cucumber.junit.Cucumber.runChild(Cucumber.java:89) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at io.cucumber.junit.Cucumber$RunBeforeAllHooks.evaluate(Cucumber.java:266) at io.cucumber.junit.Cucumber$RunAfterAllHooks.evaluate(Cucumber.java:281) at io.cucumber.junit.Cucumber$StartTestRun.evaluate(Cucumber.java:233) at io.cucumber.junit.Cucumber$FinishTestRun.evaluate(Cucumber.java:248) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69) at com.intellij.rt.junit.IdeaTestRunner$Repeater$1.execute(IdeaTestRunner.java:38) at com.intellij.rt.execution.junit.TestsRepeater.repeat(TestsRepeater.java:11) at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:35) at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:232) at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:55)
@NBP-1482
@TEST_NBP-1428
@Automatizado
@2025Q1SP01
Scenario Outline: CP055 - Validar un flujo de Venta rápida con Plan Inicia, Boleta PAS y pago con Tarjeta
Before
Hook
Given
que el usuario inició sesión exitosamente con sus credenciales "311224_vcia6@yopmail.com" y "777777777@Aa" con perfil "Vendedor Comercio"
+ Show Error
org.openqa.selenium.WebDriverException: Connection refused: connect Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03' System info: host: 'NTTD-JFLJMN3', ip: '192.168.0.151', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '11.0.24' Driver info: driver.version: SetDriver at io.appium.java_client.remote.AppiumCommandExecutor.lambda$6(AppiumCommandExecutor.java:262) at java.base/java.util.Optional.orElseGet(Optional.java:369) at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:261) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:41) at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:213) at io.appium.java_client.AppiumDriver.startSession(AppiumDriver.java:363) at org.openqa.selenium.remote.RemoteWebDriver.(init)(RemoteWebDriver.java:131) at io.appium.java_client.DefaultGenericMobileDriver.(init)(DefaultGenericMobileDriver.java:37) at io.appium.java_client.AppiumDriver.(init)(AppiumDriver.java:89) at io.appium.java_client.AppiumDriver.(init)(AppiumDriver.java:99) at io.appium.java_client.android.AndroidDriver.(init)(AndroidDriver.java:97) at com.nttdata.ct.mobile.lib.SetDriver.configAndroidDriver(SetDriver.java:35) at com.nttdata.ct.mobile.lib.MobileDriverManager.setUpDriver(MobileDriverManager.java:50) at com.nttdata.ct.mobile.glue.LoginSD.queElUsuarioInicióSesiónExitosamenteConSusCredencialesYConPerfil(LoginSD.java:100) at ✽.que el usuario inició sesión exitosamente con sus credenciales "311224_vcia6@yopmail.com" y "777777777@Aa" con perfil "Vendedor Comercio"(file:///C:/Users/bfloresg/OneDrive%20-%20NTT%20DATA%20EMEAL/Documents/PROYECTOS/NIUBIZ/POS%20COMERCIO/vas-mobile-automation-testing/NIUBIZ_POINT_APP_COMERCIO_POS/src/test/resources/features/POS%20PAX-A920%20APP-COMERCIO.feature:659) Caused by: java.net.ConnectException: Connection refused: connect at java.base/java.net.PlainSocketImpl.waitForConnect(Native Method) at java.base/java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:107) at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:412) at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:255) at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:237) at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.base/java.net.Socket.connect(Socket.java:609) at okhttp3.internal.platform.Platform.connectSocket(Platform.java:129) at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:245) at okhttp3.internal.connection.RealConnection.connect(RealConnection.java:165) at okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:257) at okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:135) at okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:114) at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:126) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:200) at okhttp3.RealCall.execute(RealCall.java:77) at org.openqa.selenium.remote.internal.OkHttpClient.execute(OkHttpClient.java:103) at io.appium.java_client.remote.AppiumCommandExecutor.lambda$1(AppiumCommandExecutor.java:162) at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:105) at jdk.internal.reflect.GeneratedMethodAccessor139.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at io.appium.java_client.remote.AppiumCommandExecutor$1.createSession(AppiumCommandExecutor.java:193) at io.appium.java_client.remote.AppiumCommandExecutor.createSession(AppiumCommandExecutor.java:225) at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:250) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:41) at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:213) at io.appium.java_client.AppiumDriver.startSession(AppiumDriver.java:363) at org.openqa.selenium.remote.RemoteWebDriver.(init)(RemoteWebDriver.java:131) at io.appium.java_client.DefaultGenericMobileDriver.(init)(DefaultGenericMobileDriver.java:37) at io.appium.java_client.AppiumDriver.(init)(AppiumDriver.java:89) at io.appium.java_client.AppiumDriver.(init)(AppiumDriver.java:99) at io.appium.java_client.android.AndroidDriver.(init)(AndroidDriver.java:97) at com.nttdata.ct.mobile.lib.SetDriver.configAndroidDriver(SetDriver.java:35) at com.nttdata.ct.mobile.lib.MobileDriverManager.setUpDriver(MobileDriverManager.java:50) at com.nttdata.ct.mobile.glue.LoginSD.queElUsuarioInicióSesiónExitosamenteConSusCredencialesYConPerfil(LoginSD.java:100) at com.nttdata.ct.mobile.glue.LoginSD$$FastClassBySpringCGLIB$$7eb0c213.invoke((generated)) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:779) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:64) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:692) at com.nttdata.ct.mobile.glue.LoginSD$$EnhancerBySpringCGLIB$$719f4ed5.queElUsuarioInicióSesiónExitosamenteConSusCredencialesYConPerfil((generated)) at jdk.internal.reflect.GeneratedMethodAccessor156.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at io.cucumber.java.Invoker.doInvoke(Invoker.java:66) at io.cucumber.java.Invoker.invoke(Invoker.java:24) at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47) at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29) at io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66) at io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63) at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10) at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:86) at io.cucumber.core.runner.TestStep.run(TestStep.java:57) at io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51) at io.cucumber.core.runner.TestCase.run(TestCase.java:95) at io.cucumber.core.runner.Runner.runPickle(Runner.java:75) at io.cucumber.junit.PickleRunners$WithStepDescriptions.lambda$run$1(PickleRunners.java:109) at io.cucumber.core.runtime.CucumberExecutionContext.lambda$runTestCase$3(CucumberExecutionContext.java:151) at io.cucumber.core.runtime.RethrowingThrowableCollector.executeAndThrow(RethrowingThrowableCollector.java:23) at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:151) at io.cucumber.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:106) at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:144) at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:28) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at io.cucumber.junit.FeatureRunner.run(FeatureRunner.java:137) at io.cucumber.junit.Cucumber.runChild(Cucumber.java:196) at io.cucumber.junit.Cucumber.runChild(Cucumber.java:89) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at io.cucumber.junit.Cucumber$RunBeforeAllHooks.evaluate(Cucumber.java:266) at io.cucumber.junit.Cucumber$RunAfterAllHooks.evaluate(Cucumber.java:281) at io.cucumber.junit.Cucumber$StartTestRun.evaluate(Cucumber.java:233) at io.cucumber.junit.Cucumber$FinishTestRun.evaluate(Cucumber.java:248) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69) at com.intellij.rt.junit.IdeaTestRunner$Repeater$1.execute(IdeaTestRunner.java:38) at com.intellij.rt.execution.junit.TestsRepeater.repeat(TestsRepeater.java:11) at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:35) at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:232) at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:55)
And
configuró una impresora
And
tocó la opción "Ventas" en el Menú de opciones
And
fue redirigido a la vista "Venta rápida"
When
elija cualquier producto de la categoria "Limpieza" y agregue cualquier cantidad del mismo
And
elija cualquier producto de la categoria "Sillas" y agregue cualquier cantidad del mismo
And
elija cualquier producto de la categoria "Platos para Mascotas" y agregue cualquier cantidad del mismo
And
agregue una promoción
And
termine de elegir sus productos
And
termine de realizar su pedido
And
elija boleta PAS, llene los campos obligatorios "Bryan", "479672860000" y proceda a continuar
And
elija el método de pago Tarjeta
And
al procesarse el pago y el usuario "311224_vcia6@yopmail.com" toque la opción Nueva venta
Then
deberá ser redirigido a al Menú de opciones
org.openqa.selenium.WebDriverException: Connection refused: connect Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03' System info: host: 'NTTD-JFLJMN3', ip: '192.168.0.151', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '11.0.24' Driver info: driver.version: RemoteWebDriver at io.appium.java_client.remote.AppiumCommandExecutor.lambda$6(AppiumCommandExecutor.java:262) at java.base/java.util.Optional.orElseGet(Optional.java:369) at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:261) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:45) at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) at org.openqa.selenium.remote.RemoteWebDriver.getScreenshotAs(RemoteWebDriver.java:295) at com.nttdata.ct.mobile.service.stepdefinition.ManageScenario.printFullView(ManageScenario.java:27) at com.nttdata.ct.mobile.service.stepdefinition.ManageScenario.shotWhenFail(ManageScenario.java:33) at com.nttdata.ct.mobile.hooks.Hooks.tearDown(Hooks.java:38) Caused by: java.net.ConnectException: Connection refused: connect at java.base/java.net.PlainSocketImpl.waitForConnect(Native Method) at java.base/java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:107) at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:412) at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:255) at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:237) at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.base/java.net.Socket.connect(Socket.java:609) at okhttp3.internal.platform.Platform.connectSocket(Platform.java:129) at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:245) at okhttp3.internal.connection.RealConnection.connect(RealConnection.java:165) at okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:257) at okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:135) at okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:114) at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:126) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:200) at okhttp3.RealCall.execute(RealCall.java:77) at org.openqa.selenium.remote.internal.OkHttpClient.execute(OkHttpClient.java:103) at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:155) at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:250) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:45) at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) at org.openqa.selenium.remote.RemoteWebDriver.getScreenshotAs(RemoteWebDriver.java:295) at com.nttdata.ct.mobile.service.stepdefinition.ManageScenario.printFullView(ManageScenario.java:27) at com.nttdata.ct.mobile.service.stepdefinition.ManageScenario.shotWhenFail(ManageScenario.java:33) at com.nttdata.ct.mobile.hooks.Hooks.tearDown(Hooks.java:38) at jdk.internal.reflect.GeneratedMethodAccessor151.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at io.cucumber.java.Invoker.doInvoke(Invoker.java:66) at io.cucumber.java.Invoker.invoke(Invoker.java:24) at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47) at io.cucumber.java.JavaHookDefinition.execute(JavaHookDefinition.java:64) at io.cucumber.core.runner.CoreHookDefinition.execute(CoreHookDefinition.java:46) at io.cucumber.core.runner.HookDefinitionMatch.runStep(HookDefinitionMatch.java:21) at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10) at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:86) at io.cucumber.core.runner.TestStep.run(TestStep.java:57) at io.cucumber.core.runner.TestCase.run(TestCase.java:101) at io.cucumber.core.runner.Runner.runPickle(Runner.java:75) at io.cucumber.junit.PickleRunners$WithStepDescriptions.lambda$run$1(PickleRunners.java:109) at io.cucumber.core.runtime.CucumberExecutionContext.lambda$runTestCase$3(CucumberExecutionContext.java:151) at io.cucumber.core.runtime.RethrowingThrowableCollector.executeAndThrow(RethrowingThrowableCollector.java:23) at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:151) at io.cucumber.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:106) at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:144) at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:28) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at io.cucumber.junit.FeatureRunner.run(FeatureRunner.java:137) at io.cucumber.junit.Cucumber.runChild(Cucumber.java:196) at io.cucumber.junit.Cucumber.runChild(Cucumber.java:89) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at io.cucumber.junit.Cucumber$RunBeforeAllHooks.evaluate(Cucumber.java:266) at io.cucumber.junit.Cucumber$RunAfterAllHooks.evaluate(Cucumber.java:281) at io.cucumber.junit.Cucumber$StartTestRun.evaluate(Cucumber.java:233) at io.cucumber.junit.Cucumber$FinishTestRun.evaluate(Cucumber.java:248) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69) at com.intellij.rt.junit.IdeaTestRunner$Repeater$1.execute(IdeaTestRunner.java:38) at com.intellij.rt.execution.junit.TestsRepeater.repeat(TestsRepeater.java:11) at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:35) at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:232) at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:55)
org.openqa.selenium.WebDriverException: Connection refused: connect Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03' System info: host: 'NTTD-JFLJMN3', ip: '192.168.0.151', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '11.0.24' Driver info: driver.version: AndroidDriver at io.appium.java_client.remote.AppiumCommandExecutor.lambda$6(AppiumCommandExecutor.java:262) at java.base/java.util.Optional.orElseGet(Optional.java:369) at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:261) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:45) at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) at io.appium.java_client.screenrecording.CanRecordScreen.stopRecordingScreen(CanRecordScreen.java:72) at com.nttdata.ct.mobile.service.screenrecorder.ScreenRecorder.stopRecording(ScreenRecorder.java:60) at com.nttdata.ct.mobile.lib.MobileDriverManager.quitDriver(MobileDriverManager.java:122) at com.nttdata.ct.mobile.hooks.Hooks.afterScenario(Hooks.java:33) Caused by: java.net.ConnectException: Connection refused: connect at java.base/java.net.PlainSocketImpl.waitForConnect(Native Method) at java.base/java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:107) at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:412) at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:255) at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:237) at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.base/java.net.Socket.connect(Socket.java:609) at okhttp3.internal.platform.Platform.connectSocket(Platform.java:129) at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:245) at okhttp3.internal.connection.RealConnection.connect(RealConnection.java:165) at okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:257) at okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:135) at okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:114) at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:126) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:200) at okhttp3.RealCall.execute(RealCall.java:77) at org.openqa.selenium.remote.internal.OkHttpClient.execute(OkHttpClient.java:103) at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:155) at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:250) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:45) at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) at io.appium.java_client.screenrecording.CanRecordScreen.stopRecordingScreen(CanRecordScreen.java:72) at com.nttdata.ct.mobile.service.screenrecorder.ScreenRecorder.stopRecording(ScreenRecorder.java:60) at com.nttdata.ct.mobile.lib.MobileDriverManager.quitDriver(MobileDriverManager.java:122) at com.nttdata.ct.mobile.hooks.Hooks.afterScenario(Hooks.java:33) at jdk.internal.reflect.GeneratedMethodAccessor152.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at io.cucumber.java.Invoker.doInvoke(Invoker.java:66) at io.cucumber.java.Invoker.invoke(Invoker.java:24) at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47) at io.cucumber.java.JavaHookDefinition.execute(JavaHookDefinition.java:64) at io.cucumber.core.runner.CoreHookDefinition.execute(CoreHookDefinition.java:46) at io.cucumber.core.runner.HookDefinitionMatch.runStep(HookDefinitionMatch.java:21) at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10) at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:86) at io.cucumber.core.runner.TestStep.run(TestStep.java:57) at io.cucumber.core.runner.TestCase.run(TestCase.java:101) at io.cucumber.core.runner.Runner.runPickle(Runner.java:75) at io.cucumber.junit.PickleRunners$WithStepDescriptions.lambda$run$1(PickleRunners.java:109) at io.cucumber.core.runtime.CucumberExecutionContext.lambda$runTestCase$3(CucumberExecutionContext.java:151) at io.cucumber.core.runtime.RethrowingThrowableCollector.executeAndThrow(RethrowingThrowableCollector.java:23) at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:151) at io.cucumber.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:106) at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:144) at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:28) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at io.cucumber.junit.FeatureRunner.run(FeatureRunner.java:137) at io.cucumber.junit.Cucumber.runChild(Cucumber.java:196) at io.cucumber.junit.Cucumber.runChild(Cucumber.java:89) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at io.cucumber.junit.Cucumber$RunBeforeAllHooks.evaluate(Cucumber.java:266) at io.cucumber.junit.Cucumber$RunAfterAllHooks.evaluate(Cucumber.java:281) at io.cucumber.junit.Cucumber$StartTestRun.evaluate(Cucumber.java:233) at io.cucumber.junit.Cucumber$FinishTestRun.evaluate(Cucumber.java:248) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69) at com.intellij.rt.junit.IdeaTestRunner$Repeater$1.execute(IdeaTestRunner.java:38) at com.intellij.rt.execution.junit.TestsRepeater.repeat(TestsRepeater.java:11) at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:35) at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:232) at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:55)
@NBP-1482
@TEST_NBP-1429
@Automatizado
@2025Q1SP01
Scenario Outline: CP056 - Validar un flujo de Venta rápida con Plan Inicia, Boleta CDI y pago MIXTO (Tarjeta y Tarjeta)
Before
Hook
Given
que el usuario inició sesión exitosamente con sus credenciales "311224_vcia6@yopmail.com" y "777777777@Aa" con perfil "Vendedor Comercio"
+ Show Error
org.openqa.selenium.WebDriverException: Connection refused: connect Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03' System info: host: 'NTTD-JFLJMN3', ip: '192.168.0.151', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '11.0.24' Driver info: driver.version: SetDriver at io.appium.java_client.remote.AppiumCommandExecutor.lambda$6(AppiumCommandExecutor.java:262) at java.base/java.util.Optional.orElseGet(Optional.java:369) at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:261) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:41) at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:213) at io.appium.java_client.AppiumDriver.startSession(AppiumDriver.java:363) at org.openqa.selenium.remote.RemoteWebDriver.(init)(RemoteWebDriver.java:131) at io.appium.java_client.DefaultGenericMobileDriver.(init)(DefaultGenericMobileDriver.java:37) at io.appium.java_client.AppiumDriver.(init)(AppiumDriver.java:89) at io.appium.java_client.AppiumDriver.(init)(AppiumDriver.java:99) at io.appium.java_client.android.AndroidDriver.(init)(AndroidDriver.java:97) at com.nttdata.ct.mobile.lib.SetDriver.configAndroidDriver(SetDriver.java:35) at com.nttdata.ct.mobile.lib.MobileDriverManager.setUpDriver(MobileDriverManager.java:50) at com.nttdata.ct.mobile.glue.LoginSD.queElUsuarioInicióSesiónExitosamenteConSusCredencialesYConPerfil(LoginSD.java:100) at ✽.que el usuario inició sesión exitosamente con sus credenciales "311224_vcia6@yopmail.com" y "777777777@Aa" con perfil "Vendedor Comercio"(file:///C:/Users/bfloresg/OneDrive%20-%20NTT%20DATA%20EMEAL/Documents/PROYECTOS/NIUBIZ/POS%20COMERCIO/vas-mobile-automation-testing/NIUBIZ_POINT_APP_COMERCIO_POS/src/test/resources/features/POS%20PAX-A920%20APP-COMERCIO.feature:680) Caused by: java.net.ConnectException: Connection refused: connect at java.base/java.net.PlainSocketImpl.waitForConnect(Native Method) at java.base/java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:107) at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:412) at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:255) at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:237) at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.base/java.net.Socket.connect(Socket.java:609) at okhttp3.internal.platform.Platform.connectSocket(Platform.java:129) at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:245) at okhttp3.internal.connection.RealConnection.connect(RealConnection.java:165) at okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:257) at okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:135) at okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:114) at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:126) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:200) at okhttp3.RealCall.execute(RealCall.java:77) at org.openqa.selenium.remote.internal.OkHttpClient.execute(OkHttpClient.java:103) at io.appium.java_client.remote.AppiumCommandExecutor.lambda$1(AppiumCommandExecutor.java:162) at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:105) at jdk.internal.reflect.GeneratedMethodAccessor139.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at io.appium.java_client.remote.AppiumCommandExecutor$1.createSession(AppiumCommandExecutor.java:193) at io.appium.java_client.remote.AppiumCommandExecutor.createSession(AppiumCommandExecutor.java:225) at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:250) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:41) at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:213) at io.appium.java_client.AppiumDriver.startSession(AppiumDriver.java:363) at org.openqa.selenium.remote.RemoteWebDriver.(init)(RemoteWebDriver.java:131) at io.appium.java_client.DefaultGenericMobileDriver.(init)(DefaultGenericMobileDriver.java:37) at io.appium.java_client.AppiumDriver.(init)(AppiumDriver.java:89) at io.appium.java_client.AppiumDriver.(init)(AppiumDriver.java:99) at io.appium.java_client.android.AndroidDriver.(init)(AndroidDriver.java:97) at com.nttdata.ct.mobile.lib.SetDriver.configAndroidDriver(SetDriver.java:35) at com.nttdata.ct.mobile.lib.MobileDriverManager.setUpDriver(MobileDriverManager.java:50) at com.nttdata.ct.mobile.glue.LoginSD.queElUsuarioInicióSesiónExitosamenteConSusCredencialesYConPerfil(LoginSD.java:100) at com.nttdata.ct.mobile.glue.LoginSD$$FastClassBySpringCGLIB$$7eb0c213.invoke((generated)) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:779) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:64) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:692) at com.nttdata.ct.mobile.glue.LoginSD$$EnhancerBySpringCGLIB$$719f4ed5.queElUsuarioInicióSesiónExitosamenteConSusCredencialesYConPerfil((generated)) at jdk.internal.reflect.GeneratedMethodAccessor156.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at io.cucumber.java.Invoker.doInvoke(Invoker.java:66) at io.cucumber.java.Invoker.invoke(Invoker.java:24) at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47) at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29) at io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66) at io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63) at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10) at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:86) at io.cucumber.core.runner.TestStep.run(TestStep.java:57) at io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51) at io.cucumber.core.runner.TestCase.run(TestCase.java:95) at io.cucumber.core.runner.Runner.runPickle(Runner.java:75) at io.cucumber.junit.PickleRunners$WithStepDescriptions.lambda$run$1(PickleRunners.java:109) at io.cucumber.core.runtime.CucumberExecutionContext.lambda$runTestCase$3(CucumberExecutionContext.java:151) at io.cucumber.core.runtime.RethrowingThrowableCollector.executeAndThrow(RethrowingThrowableCollector.java:23) at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:151) at io.cucumber.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:106) at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:144) at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:28) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at io.cucumber.junit.FeatureRunner.run(FeatureRunner.java:137) at io.cucumber.junit.Cucumber.runChild(Cucumber.java:196) at io.cucumber.junit.Cucumber.runChild(Cucumber.java:89) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at io.cucumber.junit.Cucumber$RunBeforeAllHooks.evaluate(Cucumber.java:266) at io.cucumber.junit.Cucumber$RunAfterAllHooks.evaluate(Cucumber.java:281) at io.cucumber.junit.Cucumber$StartTestRun.evaluate(Cucumber.java:233) at io.cucumber.junit.Cucumber$FinishTestRun.evaluate(Cucumber.java:248) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69) at com.intellij.rt.junit.IdeaTestRunner$Repeater$1.execute(IdeaTestRunner.java:38) at com.intellij.rt.execution.junit.TestsRepeater.repeat(TestsRepeater.java:11) at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:35) at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:232) at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:55)
And
configuró una impresora
And
tocó la opción "Ventas" en el Menú de opciones
And
fue redirigido a la vista "Venta rápida"
When
elija cualquier producto de la categoria "Limpieza" y agregue cualquier cantidad del mismo
And
elija cualquier producto de la categoria "Sillas" y agregue cualquier cantidad del mismo
And
elija cualquier producto de la categoria "Platos para Mascotas" y agregue cualquier cantidad del mismo
And
agregue una promoción
And
termine de elegir sus productos
And
termine de realizar su pedido
And
elija Boleta CDI, llene los campos obligatorios "Bryan" "479672860000000" y proceda a continuar
And
elija el método de pago MIXTO
And
elija el método de pago Tarjeta y pague el "50%"
And
proceda a continuar con el siguiente pago
And
elija el método de pago Tarjeta y pague el "50%"
And
termine de efectuar el pago MIXTO
And
al procesarse el pago y el usuario "311224_vcia6@yopmail.com" toque la opción Nueva venta
Then
deberá ser redirigido a al Menú de opciones
org.openqa.selenium.WebDriverException: Connection refused: connect Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03' System info: host: 'NTTD-JFLJMN3', ip: '192.168.0.151', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '11.0.24' Driver info: driver.version: RemoteWebDriver at io.appium.java_client.remote.AppiumCommandExecutor.lambda$6(AppiumCommandExecutor.java:262) at java.base/java.util.Optional.orElseGet(Optional.java:369) at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:261) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:45) at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) at org.openqa.selenium.remote.RemoteWebDriver.getScreenshotAs(RemoteWebDriver.java:295) at com.nttdata.ct.mobile.service.stepdefinition.ManageScenario.printFullView(ManageScenario.java:27) at com.nttdata.ct.mobile.service.stepdefinition.ManageScenario.shotWhenFail(ManageScenario.java:33) at com.nttdata.ct.mobile.hooks.Hooks.tearDown(Hooks.java:38) Caused by: java.net.ConnectException: Connection refused: connect at java.base/java.net.PlainSocketImpl.waitForConnect(Native Method) at java.base/java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:107) at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:412) at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:255) at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:237) at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.base/java.net.Socket.connect(Socket.java:609) at okhttp3.internal.platform.Platform.connectSocket(Platform.java:129) at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:245) at okhttp3.internal.connection.RealConnection.connect(RealConnection.java:165) at okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:257) at okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:135) at okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:114) at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:126) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:200) at okhttp3.RealCall.execute(RealCall.java:77) at org.openqa.selenium.remote.internal.OkHttpClient.execute(OkHttpClient.java:103) at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:155) at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:250) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:45) at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) at org.openqa.selenium.remote.RemoteWebDriver.getScreenshotAs(RemoteWebDriver.java:295) at com.nttdata.ct.mobile.service.stepdefinition.ManageScenario.printFullView(ManageScenario.java:27) at com.nttdata.ct.mobile.service.stepdefinition.ManageScenario.shotWhenFail(ManageScenario.java:33) at com.nttdata.ct.mobile.hooks.Hooks.tearDown(Hooks.java:38) at jdk.internal.reflect.GeneratedMethodAccessor151.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at io.cucumber.java.Invoker.doInvoke(Invoker.java:66) at io.cucumber.java.Invoker.invoke(Invoker.java:24) at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47) at io.cucumber.java.JavaHookDefinition.execute(JavaHookDefinition.java:64) at io.cucumber.core.runner.CoreHookDefinition.execute(CoreHookDefinition.java:46) at io.cucumber.core.runner.HookDefinitionMatch.runStep(HookDefinitionMatch.java:21) at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10) at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:86) at io.cucumber.core.runner.TestStep.run(TestStep.java:57) at io.cucumber.core.runner.TestCase.run(TestCase.java:101) at io.cucumber.core.runner.Runner.runPickle(Runner.java:75) at io.cucumber.junit.PickleRunners$WithStepDescriptions.lambda$run$1(PickleRunners.java:109) at io.cucumber.core.runtime.CucumberExecutionContext.lambda$runTestCase$3(CucumberExecutionContext.java:151) at io.cucumber.core.runtime.RethrowingThrowableCollector.executeAndThrow(RethrowingThrowableCollector.java:23) at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:151) at io.cucumber.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:106) at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:144) at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:28) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at io.cucumber.junit.FeatureRunner.run(FeatureRunner.java:137) at io.cucumber.junit.Cucumber.runChild(Cucumber.java:196) at io.cucumber.junit.Cucumber.runChild(Cucumber.java:89) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at io.cucumber.junit.Cucumber$RunBeforeAllHooks.evaluate(Cucumber.java:266) at io.cucumber.junit.Cucumber$RunAfterAllHooks.evaluate(Cucumber.java:281) at io.cucumber.junit.Cucumber$StartTestRun.evaluate(Cucumber.java:233) at io.cucumber.junit.Cucumber$FinishTestRun.evaluate(Cucumber.java:248) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69) at com.intellij.rt.junit.IdeaTestRunner$Repeater$1.execute(IdeaTestRunner.java:38) at com.intellij.rt.execution.junit.TestsRepeater.repeat(TestsRepeater.java:11) at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:35) at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:232) at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:55)
org.openqa.selenium.WebDriverException: Connection refused: connect Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03' System info: host: 'NTTD-JFLJMN3', ip: '192.168.0.151', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '11.0.24' Driver info: driver.version: AndroidDriver at io.appium.java_client.remote.AppiumCommandExecutor.lambda$6(AppiumCommandExecutor.java:262) at java.base/java.util.Optional.orElseGet(Optional.java:369) at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:261) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:45) at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) at io.appium.java_client.screenrecording.CanRecordScreen.stopRecordingScreen(CanRecordScreen.java:72) at com.nttdata.ct.mobile.service.screenrecorder.ScreenRecorder.stopRecording(ScreenRecorder.java:60) at com.nttdata.ct.mobile.lib.MobileDriverManager.quitDriver(MobileDriverManager.java:122) at com.nttdata.ct.mobile.hooks.Hooks.afterScenario(Hooks.java:33) Caused by: java.net.ConnectException: Connection refused: connect at java.base/java.net.PlainSocketImpl.waitForConnect(Native Method) at java.base/java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:107) at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:412) at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:255) at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:237) at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.base/java.net.Socket.connect(Socket.java:609) at okhttp3.internal.platform.Platform.connectSocket(Platform.java:129) at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:245) at okhttp3.internal.connection.RealConnection.connect(RealConnection.java:165) at okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:257) at okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:135) at okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:114) at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:126) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:200) at okhttp3.RealCall.execute(RealCall.java:77) at org.openqa.selenium.remote.internal.OkHttpClient.execute(OkHttpClient.java:103) at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:155) at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:250) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:45) at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) at io.appium.java_client.screenrecording.CanRecordScreen.stopRecordingScreen(CanRecordScreen.java:72) at com.nttdata.ct.mobile.service.screenrecorder.ScreenRecorder.stopRecording(ScreenRecorder.java:60) at com.nttdata.ct.mobile.lib.MobileDriverManager.quitDriver(MobileDriverManager.java:122) at com.nttdata.ct.mobile.hooks.Hooks.afterScenario(Hooks.java:33) at jdk.internal.reflect.GeneratedMethodAccessor152.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at io.cucumber.java.Invoker.doInvoke(Invoker.java:66) at io.cucumber.java.Invoker.invoke(Invoker.java:24) at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47) at io.cucumber.java.JavaHookDefinition.execute(JavaHookDefinition.java:64) at io.cucumber.core.runner.CoreHookDefinition.execute(CoreHookDefinition.java:46) at io.cucumber.core.runner.HookDefinitionMatch.runStep(HookDefinitionMatch.java:21) at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10) at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:86) at io.cucumber.core.runner.TestStep.run(TestStep.java:57) at io.cucumber.core.runner.TestCase.run(TestCase.java:101) at io.cucumber.core.runner.Runner.runPickle(Runner.java:75) at io.cucumber.junit.PickleRunners$WithStepDescriptions.lambda$run$1(PickleRunners.java:109) at io.cucumber.core.runtime.CucumberExecutionContext.lambda$runTestCase$3(CucumberExecutionContext.java:151) at io.cucumber.core.runtime.RethrowingThrowableCollector.executeAndThrow(RethrowingThrowableCollector.java:23) at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:151) at io.cucumber.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:106) at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:144) at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:28) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at io.cucumber.junit.FeatureRunner.run(FeatureRunner.java:137) at io.cucumber.junit.Cucumber.runChild(Cucumber.java:196) at io.cucumber.junit.Cucumber.runChild(Cucumber.java:89) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at io.cucumber.junit.Cucumber$RunBeforeAllHooks.evaluate(Cucumber.java:266) at io.cucumber.junit.Cucumber$RunAfterAllHooks.evaluate(Cucumber.java:281) at io.cucumber.junit.Cucumber$StartTestRun.evaluate(Cucumber.java:233) at io.cucumber.junit.Cucumber$FinishTestRun.evaluate(Cucumber.java:248) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69) at com.intellij.rt.junit.IdeaTestRunner$Repeater$1.execute(IdeaTestRunner.java:38) at com.intellij.rt.execution.junit.TestsRepeater.repeat(TestsRepeater.java:11) at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:35) at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:232) at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:55)
@NBP-1482
@TEST_NBP-1430
@Automatizado
@2025Q1SP01
Scenario Outline: CP057 - Validar un flujo de Venta rápida con Plan Inicia, Factura y pago MIXTO (Efectivo y Tarjeta)
Before
Hook
Given
que el usuario inició sesión exitosamente con sus credenciales "311224_vcia6@yopmail.com" y "777777777@Aa" con perfil "Vendedor Comercio"
+ Show Error
org.openqa.selenium.WebDriverException: Connection refused: connect Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03' System info: host: 'NTTD-JFLJMN3', ip: '192.168.0.151', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '11.0.24' Driver info: driver.version: SetDriver at io.appium.java_client.remote.AppiumCommandExecutor.lambda$6(AppiumCommandExecutor.java:262) at java.base/java.util.Optional.orElseGet(Optional.java:369) at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:261) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:41) at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:213) at io.appium.java_client.AppiumDriver.startSession(AppiumDriver.java:363) at org.openqa.selenium.remote.RemoteWebDriver.(init)(RemoteWebDriver.java:131) at io.appium.java_client.DefaultGenericMobileDriver.(init)(DefaultGenericMobileDriver.java:37) at io.appium.java_client.AppiumDriver.(init)(AppiumDriver.java:89) at io.appium.java_client.AppiumDriver.(init)(AppiumDriver.java:99) at io.appium.java_client.android.AndroidDriver.(init)(AndroidDriver.java:97) at com.nttdata.ct.mobile.lib.SetDriver.configAndroidDriver(SetDriver.java:35) at com.nttdata.ct.mobile.lib.MobileDriverManager.setUpDriver(MobileDriverManager.java:50) at com.nttdata.ct.mobile.glue.LoginSD.queElUsuarioInicióSesiónExitosamenteConSusCredencialesYConPerfil(LoginSD.java:100) at ✽.que el usuario inició sesión exitosamente con sus credenciales "311224_vcia6@yopmail.com" y "777777777@Aa" con perfil "Vendedor Comercio"(file:///C:/Users/bfloresg/OneDrive%20-%20NTT%20DATA%20EMEAL/Documents/PROYECTOS/NIUBIZ/POS%20COMERCIO/vas-mobile-automation-testing/NIUBIZ_POINT_APP_COMERCIO_POS/src/test/resources/features/POS%20PAX-A920%20APP-COMERCIO.feature:705) Caused by: java.net.ConnectException: Connection refused: connect at java.base/java.net.PlainSocketImpl.waitForConnect(Native Method) at java.base/java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:107) at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:412) at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:255) at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:237) at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.base/java.net.Socket.connect(Socket.java:609) at okhttp3.internal.platform.Platform.connectSocket(Platform.java:129) at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:245) at okhttp3.internal.connection.RealConnection.connect(RealConnection.java:165) at okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:257) at okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:135) at okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:114) at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:126) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:200) at okhttp3.RealCall.execute(RealCall.java:77) at org.openqa.selenium.remote.internal.OkHttpClient.execute(OkHttpClient.java:103) at io.appium.java_client.remote.AppiumCommandExecutor.lambda$1(AppiumCommandExecutor.java:162) at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:105) at jdk.internal.reflect.GeneratedMethodAccessor139.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at io.appium.java_client.remote.AppiumCommandExecutor$1.createSession(AppiumCommandExecutor.java:193) at io.appium.java_client.remote.AppiumCommandExecutor.createSession(AppiumCommandExecutor.java:225) at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:250) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:41) at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:213) at io.appium.java_client.AppiumDriver.startSession(AppiumDriver.java:363) at org.openqa.selenium.remote.RemoteWebDriver.(init)(RemoteWebDriver.java:131) at io.appium.java_client.DefaultGenericMobileDriver.(init)(DefaultGenericMobileDriver.java:37) at io.appium.java_client.AppiumDriver.(init)(AppiumDriver.java:89) at io.appium.java_client.AppiumDriver.(init)(AppiumDriver.java:99) at io.appium.java_client.android.AndroidDriver.(init)(AndroidDriver.java:97) at com.nttdata.ct.mobile.lib.SetDriver.configAndroidDriver(SetDriver.java:35) at com.nttdata.ct.mobile.lib.MobileDriverManager.setUpDriver(MobileDriverManager.java:50) at com.nttdata.ct.mobile.glue.LoginSD.queElUsuarioInicióSesiónExitosamenteConSusCredencialesYConPerfil(LoginSD.java:100) at com.nttdata.ct.mobile.glue.LoginSD$$FastClassBySpringCGLIB$$7eb0c213.invoke((generated)) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:779) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:64) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:692) at com.nttdata.ct.mobile.glue.LoginSD$$EnhancerBySpringCGLIB$$719f4ed5.queElUsuarioInicióSesiónExitosamenteConSusCredencialesYConPerfil((generated)) at jdk.internal.reflect.GeneratedMethodAccessor156.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at io.cucumber.java.Invoker.doInvoke(Invoker.java:66) at io.cucumber.java.Invoker.invoke(Invoker.java:24) at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47) at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29) at io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66) at io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63) at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10) at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:86) at io.cucumber.core.runner.TestStep.run(TestStep.java:57) at io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51) at io.cucumber.core.runner.TestCase.run(TestCase.java:95) at io.cucumber.core.runner.Runner.runPickle(Runner.java:75) at io.cucumber.junit.PickleRunners$WithStepDescriptions.lambda$run$1(PickleRunners.java:109) at io.cucumber.core.runtime.CucumberExecutionContext.lambda$runTestCase$3(CucumberExecutionContext.java:151) at io.cucumber.core.runtime.RethrowingThrowableCollector.executeAndThrow(RethrowingThrowableCollector.java:23) at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:151) at io.cucumber.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:106) at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:144) at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:28) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at io.cucumber.junit.FeatureRunner.run(FeatureRunner.java:137) at io.cucumber.junit.Cucumber.runChild(Cucumber.java:196) at io.cucumber.junit.Cucumber.runChild(Cucumber.java:89) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at io.cucumber.junit.Cucumber$RunBeforeAllHooks.evaluate(Cucumber.java:266) at io.cucumber.junit.Cucumber$RunAfterAllHooks.evaluate(Cucumber.java:281) at io.cucumber.junit.Cucumber$StartTestRun.evaluate(Cucumber.java:233) at io.cucumber.junit.Cucumber$FinishTestRun.evaluate(Cucumber.java:248) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69) at com.intellij.rt.junit.IdeaTestRunner$Repeater$1.execute(IdeaTestRunner.java:38) at com.intellij.rt.execution.junit.TestsRepeater.repeat(TestsRepeater.java:11) at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:35) at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:232) at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:55)
And
configuró una impresora
And
tocó la opción "Ventas" en el Menú de opciones
And
fue redirigido a la vista "Venta rápida"
When
elija cualquier producto de la categoria "Limpieza" y agregue cualquier cantidad del mismo
And
elija cualquier producto de la categoria "Sillas" y agregue cualquier cantidad del mismo
And
elija cualquier producto de la categoria "Platos para Mascotas" y agregue cualquier cantidad del mismo
And
agregue una promoción
And
termine de elegir sus productos
And
termine de realizar su pedido
And
elija Factura, llene el campo obligatorio "20341198217" y proceda a continuar
And
elija el método de pago MIXTO
And
elija el método de pago Efectivo y pague el "50%"
And
proceda a continuar con el siguiente pago
And
elija el método de pago Tarjeta y pague el "50%"
And
termine de efectuar el pago MIXTO
And
al procesarse el pago y el usuario "311224_vcia6@yopmail.com" toque la opción Nueva venta
Then
deberá ser redirigido a al Menú de opciones
org.openqa.selenium.WebDriverException: Connection refused: connect Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03' System info: host: 'NTTD-JFLJMN3', ip: '192.168.0.151', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '11.0.24' Driver info: driver.version: RemoteWebDriver at io.appium.java_client.remote.AppiumCommandExecutor.lambda$6(AppiumCommandExecutor.java:262) at java.base/java.util.Optional.orElseGet(Optional.java:369) at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:261) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:45) at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) at org.openqa.selenium.remote.RemoteWebDriver.getScreenshotAs(RemoteWebDriver.java:295) at com.nttdata.ct.mobile.service.stepdefinition.ManageScenario.printFullView(ManageScenario.java:27) at com.nttdata.ct.mobile.service.stepdefinition.ManageScenario.shotWhenFail(ManageScenario.java:33) at com.nttdata.ct.mobile.hooks.Hooks.tearDown(Hooks.java:38) Caused by: java.net.ConnectException: Connection refused: connect at java.base/java.net.PlainSocketImpl.waitForConnect(Native Method) at java.base/java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:107) at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:412) at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:255) at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:237) at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.base/java.net.Socket.connect(Socket.java:609) at okhttp3.internal.platform.Platform.connectSocket(Platform.java:129) at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:245) at okhttp3.internal.connection.RealConnection.connect(RealConnection.java:165) at okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:257) at okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:135) at okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:114) at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:126) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:200) at okhttp3.RealCall.execute(RealCall.java:77) at org.openqa.selenium.remote.internal.OkHttpClient.execute(OkHttpClient.java:103) at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:155) at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:250) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:45) at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) at org.openqa.selenium.remote.RemoteWebDriver.getScreenshotAs(RemoteWebDriver.java:295) at com.nttdata.ct.mobile.service.stepdefinition.ManageScenario.printFullView(ManageScenario.java:27) at com.nttdata.ct.mobile.service.stepdefinition.ManageScenario.shotWhenFail(ManageScenario.java:33) at com.nttdata.ct.mobile.hooks.Hooks.tearDown(Hooks.java:38) at jdk.internal.reflect.GeneratedMethodAccessor151.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at io.cucumber.java.Invoker.doInvoke(Invoker.java:66) at io.cucumber.java.Invoker.invoke(Invoker.java:24) at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47) at io.cucumber.java.JavaHookDefinition.execute(JavaHookDefinition.java:64) at io.cucumber.core.runner.CoreHookDefinition.execute(CoreHookDefinition.java:46) at io.cucumber.core.runner.HookDefinitionMatch.runStep(HookDefinitionMatch.java:21) at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10) at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:86) at io.cucumber.core.runner.TestStep.run(TestStep.java:57) at io.cucumber.core.runner.TestCase.run(TestCase.java:101) at io.cucumber.core.runner.Runner.runPickle(Runner.java:75) at io.cucumber.junit.PickleRunners$WithStepDescriptions.lambda$run$1(PickleRunners.java:109) at io.cucumber.core.runtime.CucumberExecutionContext.lambda$runTestCase$3(CucumberExecutionContext.java:151) at io.cucumber.core.runtime.RethrowingThrowableCollector.executeAndThrow(RethrowingThrowableCollector.java:23) at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:151) at io.cucumber.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:106) at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:144) at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:28) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at io.cucumber.junit.FeatureRunner.run(FeatureRunner.java:137) at io.cucumber.junit.Cucumber.runChild(Cucumber.java:196) at io.cucumber.junit.Cucumber.runChild(Cucumber.java:89) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at io.cucumber.junit.Cucumber$RunBeforeAllHooks.evaluate(Cucumber.java:266) at io.cucumber.junit.Cucumber$RunAfterAllHooks.evaluate(Cucumber.java:281) at io.cucumber.junit.Cucumber$StartTestRun.evaluate(Cucumber.java:233) at io.cucumber.junit.Cucumber$FinishTestRun.evaluate(Cucumber.java:248) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69) at com.intellij.rt.junit.IdeaTestRunner$Repeater$1.execute(IdeaTestRunner.java:38) at com.intellij.rt.execution.junit.TestsRepeater.repeat(TestsRepeater.java:11) at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:35) at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:232) at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:55)
org.openqa.selenium.WebDriverException: Connection refused: connect Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03' System info: host: 'NTTD-JFLJMN3', ip: '192.168.0.151', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '11.0.24' Driver info: driver.version: AndroidDriver at io.appium.java_client.remote.AppiumCommandExecutor.lambda$6(AppiumCommandExecutor.java:262) at java.base/java.util.Optional.orElseGet(Optional.java:369) at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:261) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:45) at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) at io.appium.java_client.screenrecording.CanRecordScreen.stopRecordingScreen(CanRecordScreen.java:72) at com.nttdata.ct.mobile.service.screenrecorder.ScreenRecorder.stopRecording(ScreenRecorder.java:60) at com.nttdata.ct.mobile.lib.MobileDriverManager.quitDriver(MobileDriverManager.java:122) at com.nttdata.ct.mobile.hooks.Hooks.afterScenario(Hooks.java:33) Caused by: java.net.ConnectException: Connection refused: connect at java.base/java.net.PlainSocketImpl.waitForConnect(Native Method) at java.base/java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:107) at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:412) at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:255) at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:237) at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.base/java.net.Socket.connect(Socket.java:609) at okhttp3.internal.platform.Platform.connectSocket(Platform.java:129) at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:245) at okhttp3.internal.connection.RealConnection.connect(RealConnection.java:165) at okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:257) at okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:135) at okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:114) at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:126) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:200) at okhttp3.RealCall.execute(RealCall.java:77) at org.openqa.selenium.remote.internal.OkHttpClient.execute(OkHttpClient.java:103) at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:155) at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:250) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:45) at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) at io.appium.java_client.screenrecording.CanRecordScreen.stopRecordingScreen(CanRecordScreen.java:72) at com.nttdata.ct.mobile.service.screenrecorder.ScreenRecorder.stopRecording(ScreenRecorder.java:60) at com.nttdata.ct.mobile.lib.MobileDriverManager.quitDriver(MobileDriverManager.java:122) at com.nttdata.ct.mobile.hooks.Hooks.afterScenario(Hooks.java:33) at jdk.internal.reflect.GeneratedMethodAccessor152.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at io.cucumber.java.Invoker.doInvoke(Invoker.java:66) at io.cucumber.java.Invoker.invoke(Invoker.java:24) at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47) at io.cucumber.java.JavaHookDefinition.execute(JavaHookDefinition.java:64) at io.cucumber.core.runner.CoreHookDefinition.execute(CoreHookDefinition.java:46) at io.cucumber.core.runner.HookDefinitionMatch.runStep(HookDefinitionMatch.java:21) at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10) at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:86) at io.cucumber.core.runner.TestStep.run(TestStep.java:57) at io.cucumber.core.runner.TestCase.run(TestCase.java:101) at io.cucumber.core.runner.Runner.runPickle(Runner.java:75) at io.cucumber.junit.PickleRunners$WithStepDescriptions.lambda$run$1(PickleRunners.java:109) at io.cucumber.core.runtime.CucumberExecutionContext.lambda$runTestCase$3(CucumberExecutionContext.java:151) at io.cucumber.core.runtime.RethrowingThrowableCollector.executeAndThrow(RethrowingThrowableCollector.java:23) at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:151) at io.cucumber.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:106) at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:144) at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:28) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at io.cucumber.junit.FeatureRunner.run(FeatureRunner.java:137) at io.cucumber.junit.Cucumber.runChild(Cucumber.java:196) at io.cucumber.junit.Cucumber.runChild(Cucumber.java:89) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at io.cucumber.junit.Cucumber$RunBeforeAllHooks.evaluate(Cucumber.java:266) at io.cucumber.junit.Cucumber$RunAfterAllHooks.evaluate(Cucumber.java:281) at io.cucumber.junit.Cucumber$StartTestRun.evaluate(Cucumber.java:233) at io.cucumber.junit.Cucumber$FinishTestRun.evaluate(Cucumber.java:248) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69) at com.intellij.rt.junit.IdeaTestRunner$Repeater$1.execute(IdeaTestRunner.java:38) at com.intellij.rt.execution.junit.TestsRepeater.repeat(TestsRepeater.java:11) at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:35) at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:232) at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:55)
@NBP-1482
@TEST_NBP-1431
@Automatizado
@2025Q1SP01
Scenario Outline: CP058 - Validar un flujo de Venta rápida con Plan Inicia, Nota de venta Simple y pago MIXTO (Efectivo y Efectivo)
Before
Hook
Given
que el usuario inició sesión exitosamente con sus credenciales "311224_vcia7@yopmail.com" y "777777777@Aa" con perfil "Vendedor Comercio"
+ Show Error
org.openqa.selenium.WebDriverException: Connection refused: connect Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03' System info: host: 'NTTD-JFLJMN3', ip: '192.168.0.151', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '11.0.24' Driver info: driver.version: SetDriver at io.appium.java_client.remote.AppiumCommandExecutor.lambda$6(AppiumCommandExecutor.java:262) at java.base/java.util.Optional.orElseGet(Optional.java:369) at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:261) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:41) at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:213) at io.appium.java_client.AppiumDriver.startSession(AppiumDriver.java:363) at org.openqa.selenium.remote.RemoteWebDriver.(init)(RemoteWebDriver.java:131) at io.appium.java_client.DefaultGenericMobileDriver.(init)(DefaultGenericMobileDriver.java:37) at io.appium.java_client.AppiumDriver.(init)(AppiumDriver.java:89) at io.appium.java_client.AppiumDriver.(init)(AppiumDriver.java:99) at io.appium.java_client.android.AndroidDriver.(init)(AndroidDriver.java:97) at com.nttdata.ct.mobile.lib.SetDriver.configAndroidDriver(SetDriver.java:35) at com.nttdata.ct.mobile.lib.MobileDriverManager.setUpDriver(MobileDriverManager.java:50) at com.nttdata.ct.mobile.glue.LoginSD.queElUsuarioInicióSesiónExitosamenteConSusCredencialesYConPerfil(LoginSD.java:100) at ✽.que el usuario inició sesión exitosamente con sus credenciales "311224_vcia7@yopmail.com" y "777777777@Aa" con perfil "Vendedor Comercio"(file:///C:/Users/bfloresg/OneDrive%20-%20NTT%20DATA%20EMEAL/Documents/PROYECTOS/NIUBIZ/POS%20COMERCIO/vas-mobile-automation-testing/NIUBIZ_POINT_APP_COMERCIO_POS/src/test/resources/features/POS%20PAX-A920%20APP-COMERCIO.feature:730) Caused by: java.net.ConnectException: Connection refused: connect at java.base/java.net.PlainSocketImpl.waitForConnect(Native Method) at java.base/java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:107) at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:412) at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:255) at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:237) at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.base/java.net.Socket.connect(Socket.java:609) at okhttp3.internal.platform.Platform.connectSocket(Platform.java:129) at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:245) at okhttp3.internal.connection.RealConnection.connect(RealConnection.java:165) at okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:257) at okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:135) at okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:114) at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:126) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:200) at okhttp3.RealCall.execute(RealCall.java:77) at org.openqa.selenium.remote.internal.OkHttpClient.execute(OkHttpClient.java:103) at io.appium.java_client.remote.AppiumCommandExecutor.lambda$1(AppiumCommandExecutor.java:162) at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:105) at jdk.internal.reflect.GeneratedMethodAccessor139.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at io.appium.java_client.remote.AppiumCommandExecutor$1.createSession(AppiumCommandExecutor.java:193) at io.appium.java_client.remote.AppiumCommandExecutor.createSession(AppiumCommandExecutor.java:225) at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:250) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:41) at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:213) at io.appium.java_client.AppiumDriver.startSession(AppiumDriver.java:363) at org.openqa.selenium.remote.RemoteWebDriver.(init)(RemoteWebDriver.java:131) at io.appium.java_client.DefaultGenericMobileDriver.(init)(DefaultGenericMobileDriver.java:37) at io.appium.java_client.AppiumDriver.(init)(AppiumDriver.java:89) at io.appium.java_client.AppiumDriver.(init)(AppiumDriver.java:99) at io.appium.java_client.android.AndroidDriver.(init)(AndroidDriver.java:97) at com.nttdata.ct.mobile.lib.SetDriver.configAndroidDriver(SetDriver.java:35) at com.nttdata.ct.mobile.lib.MobileDriverManager.setUpDriver(MobileDriverManager.java:50) at com.nttdata.ct.mobile.glue.LoginSD.queElUsuarioInicióSesiónExitosamenteConSusCredencialesYConPerfil(LoginSD.java:100) at com.nttdata.ct.mobile.glue.LoginSD$$FastClassBySpringCGLIB$$7eb0c213.invoke((generated)) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:779) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:64) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:692) at com.nttdata.ct.mobile.glue.LoginSD$$EnhancerBySpringCGLIB$$719f4ed5.queElUsuarioInicióSesiónExitosamenteConSusCredencialesYConPerfil((generated)) at jdk.internal.reflect.GeneratedMethodAccessor156.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at io.cucumber.java.Invoker.doInvoke(Invoker.java:66) at io.cucumber.java.Invoker.invoke(Invoker.java:24) at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47) at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29) at io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66) at io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63) at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10) at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:86) at io.cucumber.core.runner.TestStep.run(TestStep.java:57) at io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51) at io.cucumber.core.runner.TestCase.run(TestCase.java:95) at io.cucumber.core.runner.Runner.runPickle(Runner.java:75) at io.cucumber.junit.PickleRunners$WithStepDescriptions.lambda$run$1(PickleRunners.java:109) at io.cucumber.core.runtime.CucumberExecutionContext.lambda$runTestCase$3(CucumberExecutionContext.java:151) at io.cucumber.core.runtime.RethrowingThrowableCollector.executeAndThrow(RethrowingThrowableCollector.java:23) at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:151) at io.cucumber.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:106) at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:144) at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:28) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at io.cucumber.junit.FeatureRunner.run(FeatureRunner.java:137) at io.cucumber.junit.Cucumber.runChild(Cucumber.java:196) at io.cucumber.junit.Cucumber.runChild(Cucumber.java:89) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at io.cucumber.junit.Cucumber$RunBeforeAllHooks.evaluate(Cucumber.java:266) at io.cucumber.junit.Cucumber$RunAfterAllHooks.evaluate(Cucumber.java:281) at io.cucumber.junit.Cucumber$StartTestRun.evaluate(Cucumber.java:233) at io.cucumber.junit.Cucumber$FinishTestRun.evaluate(Cucumber.java:248) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69) at com.intellij.rt.junit.IdeaTestRunner$Repeater$1.execute(IdeaTestRunner.java:38) at com.intellij.rt.execution.junit.TestsRepeater.repeat(TestsRepeater.java:11) at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:35) at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:232) at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:55)
And
configuró una impresora
And
tocó la opción "Ventas" en el Menú de opciones
And
fue redirigido a la vista "Venta rápida"
When
elija cualquier producto de la categoria "Limpieza" y agregue cualquier cantidad del mismo
And
elija cualquier producto de la categoria "Sillas" y agregue cualquier cantidad del mismo
And
elija cualquier producto de la categoria "Platos para Mascotas" y agregue cualquier cantidad del mismo
And
agregue una promoción
And
termine de elegir sus productos
And
termine de realizar su pedido
And
elija Nota de Venta Simple como Comprobante de venta
And
elija el método de pago MIXTO
And
elija el método de pago Efectivo y pague el "50%"
And
proceda a continuar con el siguiente pago
And
elija el método de pago Efectivo y pague el "50%"
And
termine de efectuar el pago MIXTO
And
al procesarse el pago y el usuario "311224_vcia7@yopmail.com" toque la opción Nueva venta
Then
deberá ser redirigido a al Menú de opciones
org.openqa.selenium.WebDriverException: Connection refused: connect Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03' System info: host: 'NTTD-JFLJMN3', ip: '192.168.0.151', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '11.0.24' Driver info: driver.version: RemoteWebDriver at io.appium.java_client.remote.AppiumCommandExecutor.lambda$6(AppiumCommandExecutor.java:262) at java.base/java.util.Optional.orElseGet(Optional.java:369) at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:261) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:45) at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) at org.openqa.selenium.remote.RemoteWebDriver.getScreenshotAs(RemoteWebDriver.java:295) at com.nttdata.ct.mobile.service.stepdefinition.ManageScenario.printFullView(ManageScenario.java:27) at com.nttdata.ct.mobile.service.stepdefinition.ManageScenario.shotWhenFail(ManageScenario.java:33) at com.nttdata.ct.mobile.hooks.Hooks.tearDown(Hooks.java:38) Caused by: java.net.ConnectException: Connection refused: connect at java.base/java.net.PlainSocketImpl.waitForConnect(Native Method) at java.base/java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:107) at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:412) at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:255) at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:237) at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.base/java.net.Socket.connect(Socket.java:609) at okhttp3.internal.platform.Platform.connectSocket(Platform.java:129) at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:245) at okhttp3.internal.connection.RealConnection.connect(RealConnection.java:165) at okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:257) at okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:135) at okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:114) at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:126) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:200) at okhttp3.RealCall.execute(RealCall.java:77) at org.openqa.selenium.remote.internal.OkHttpClient.execute(OkHttpClient.java:103) at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:155) at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:250) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:45) at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) at org.openqa.selenium.remote.RemoteWebDriver.getScreenshotAs(RemoteWebDriver.java:295) at com.nttdata.ct.mobile.service.stepdefinition.ManageScenario.printFullView(ManageScenario.java:27) at com.nttdata.ct.mobile.service.stepdefinition.ManageScenario.shotWhenFail(ManageScenario.java:33) at com.nttdata.ct.mobile.hooks.Hooks.tearDown(Hooks.java:38) at jdk.internal.reflect.GeneratedMethodAccessor151.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at io.cucumber.java.Invoker.doInvoke(Invoker.java:66) at io.cucumber.java.Invoker.invoke(Invoker.java:24) at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47) at io.cucumber.java.JavaHookDefinition.execute(JavaHookDefinition.java:64) at io.cucumber.core.runner.CoreHookDefinition.execute(CoreHookDefinition.java:46) at io.cucumber.core.runner.HookDefinitionMatch.runStep(HookDefinitionMatch.java:21) at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10) at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:86) at io.cucumber.core.runner.TestStep.run(TestStep.java:57) at io.cucumber.core.runner.TestCase.run(TestCase.java:101) at io.cucumber.core.runner.Runner.runPickle(Runner.java:75) at io.cucumber.junit.PickleRunners$WithStepDescriptions.lambda$run$1(PickleRunners.java:109) at io.cucumber.core.runtime.CucumberExecutionContext.lambda$runTestCase$3(CucumberExecutionContext.java:151) at io.cucumber.core.runtime.RethrowingThrowableCollector.executeAndThrow(RethrowingThrowableCollector.java:23) at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:151) at io.cucumber.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:106) at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:144) at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:28) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at io.cucumber.junit.FeatureRunner.run(FeatureRunner.java:137) at io.cucumber.junit.Cucumber.runChild(Cucumber.java:196) at io.cucumber.junit.Cucumber.runChild(Cucumber.java:89) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at io.cucumber.junit.Cucumber$RunBeforeAllHooks.evaluate(Cucumber.java:266) at io.cucumber.junit.Cucumber$RunAfterAllHooks.evaluate(Cucumber.java:281) at io.cucumber.junit.Cucumber$StartTestRun.evaluate(Cucumber.java:233) at io.cucumber.junit.Cucumber$FinishTestRun.evaluate(Cucumber.java:248) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69) at com.intellij.rt.junit.IdeaTestRunner$Repeater$1.execute(IdeaTestRunner.java:38) at com.intellij.rt.execution.junit.TestsRepeater.repeat(TestsRepeater.java:11) at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:35) at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:232) at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:55)
org.openqa.selenium.WebDriverException: Connection refused: connect Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03' System info: host: 'NTTD-JFLJMN3', ip: '192.168.0.151', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '11.0.24' Driver info: driver.version: AndroidDriver at io.appium.java_client.remote.AppiumCommandExecutor.lambda$6(AppiumCommandExecutor.java:262) at java.base/java.util.Optional.orElseGet(Optional.java:369) at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:261) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:45) at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) at io.appium.java_client.screenrecording.CanRecordScreen.stopRecordingScreen(CanRecordScreen.java:72) at com.nttdata.ct.mobile.service.screenrecorder.ScreenRecorder.stopRecording(ScreenRecorder.java:60) at com.nttdata.ct.mobile.lib.MobileDriverManager.quitDriver(MobileDriverManager.java:122) at com.nttdata.ct.mobile.hooks.Hooks.afterScenario(Hooks.java:33) Caused by: java.net.ConnectException: Connection refused: connect at java.base/java.net.PlainSocketImpl.waitForConnect(Native Method) at java.base/java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:107) at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:412) at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:255) at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:237) at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.base/java.net.Socket.connect(Socket.java:609) at okhttp3.internal.platform.Platform.connectSocket(Platform.java:129) at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:245) at okhttp3.internal.connection.RealConnection.connect(RealConnection.java:165) at okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:257) at okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:135) at okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:114) at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:126) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:200) at okhttp3.RealCall.execute(RealCall.java:77) at org.openqa.selenium.remote.internal.OkHttpClient.execute(OkHttpClient.java:103) at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:155) at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:250) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:45) at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) at io.appium.java_client.screenrecording.CanRecordScreen.stopRecordingScreen(CanRecordScreen.java:72) at com.nttdata.ct.mobile.service.screenrecorder.ScreenRecorder.stopRecording(ScreenRecorder.java:60) at com.nttdata.ct.mobile.lib.MobileDriverManager.quitDriver(MobileDriverManager.java:122) at com.nttdata.ct.mobile.hooks.Hooks.afterScenario(Hooks.java:33) at jdk.internal.reflect.GeneratedMethodAccessor152.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at io.cucumber.java.Invoker.doInvoke(Invoker.java:66) at io.cucumber.java.Invoker.invoke(Invoker.java:24) at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47) at io.cucumber.java.JavaHookDefinition.execute(JavaHookDefinition.java:64) at io.cucumber.core.runner.CoreHookDefinition.execute(CoreHookDefinition.java:46) at io.cucumber.core.runner.HookDefinitionMatch.runStep(HookDefinitionMatch.java:21) at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10) at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:86) at io.cucumber.core.runner.TestStep.run(TestStep.java:57) at io.cucumber.core.runner.TestCase.run(TestCase.java:101) at io.cucumber.core.runner.Runner.runPickle(Runner.java:75) at io.cucumber.junit.PickleRunners$WithStepDescriptions.lambda$run$1(PickleRunners.java:109) at io.cucumber.core.runtime.CucumberExecutionContext.lambda$runTestCase$3(CucumberExecutionContext.java:151) at io.cucumber.core.runtime.RethrowingThrowableCollector.executeAndThrow(RethrowingThrowableCollector.java:23) at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:151) at io.cucumber.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:106) at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:144) at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:28) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at io.cucumber.junit.FeatureRunner.run(FeatureRunner.java:137) at io.cucumber.junit.Cucumber.runChild(Cucumber.java:196) at io.cucumber.junit.Cucumber.runChild(Cucumber.java:89) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at io.cucumber.junit.Cucumber$RunBeforeAllHooks.evaluate(Cucumber.java:266) at io.cucumber.junit.Cucumber$RunAfterAllHooks.evaluate(Cucumber.java:281) at io.cucumber.junit.Cucumber$StartTestRun.evaluate(Cucumber.java:233) at io.cucumber.junit.Cucumber$FinishTestRun.evaluate(Cucumber.java:248) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69) at com.intellij.rt.junit.IdeaTestRunner$Repeater$1.execute(IdeaTestRunner.java:38) at com.intellij.rt.execution.junit.TestsRepeater.repeat(TestsRepeater.java:11) at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:35) at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:232) at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:55)
@NBP-1482
@TEST_NBP-1432
@Automatizado
@2025Q1SP01
Scenario Outline: CP059 - Validar un flujo de Venta rápida con Plan Inicia, Nota de Venta DNI y pago MIXTO (Billetera y Efectivo)
Before
Hook
Given
que el usuario inició sesión exitosamente con sus credenciales "311224_vcia7@yopmail.com" y "777777777@Aa" con perfil "Vendedor Comercio"
+ Show Error
org.openqa.selenium.WebDriverException: Connection refused: connect Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03' System info: host: 'NTTD-JFLJMN3', ip: '192.168.0.151', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '11.0.24' Driver info: driver.version: SetDriver at io.appium.java_client.remote.AppiumCommandExecutor.lambda$6(AppiumCommandExecutor.java:262) at java.base/java.util.Optional.orElseGet(Optional.java:369) at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:261) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:41) at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:213) at io.appium.java_client.AppiumDriver.startSession(AppiumDriver.java:363) at org.openqa.selenium.remote.RemoteWebDriver.(init)(RemoteWebDriver.java:131) at io.appium.java_client.DefaultGenericMobileDriver.(init)(DefaultGenericMobileDriver.java:37) at io.appium.java_client.AppiumDriver.(init)(AppiumDriver.java:89) at io.appium.java_client.AppiumDriver.(init)(AppiumDriver.java:99) at io.appium.java_client.android.AndroidDriver.(init)(AndroidDriver.java:97) at com.nttdata.ct.mobile.lib.SetDriver.configAndroidDriver(SetDriver.java:35) at com.nttdata.ct.mobile.lib.MobileDriverManager.setUpDriver(MobileDriverManager.java:50) at com.nttdata.ct.mobile.glue.LoginSD.queElUsuarioInicióSesiónExitosamenteConSusCredencialesYConPerfil(LoginSD.java:100) at ✽.que el usuario inició sesión exitosamente con sus credenciales "311224_vcia7@yopmail.com" y "777777777@Aa" con perfil "Vendedor Comercio"(file:///C:/Users/bfloresg/OneDrive%20-%20NTT%20DATA%20EMEAL/Documents/PROYECTOS/NIUBIZ/POS%20COMERCIO/vas-mobile-automation-testing/NIUBIZ_POINT_APP_COMERCIO_POS/src/test/resources/features/POS%20PAX-A920%20APP-COMERCIO.feature:755) Caused by: java.net.ConnectException: Connection refused: connect at java.base/java.net.PlainSocketImpl.waitForConnect(Native Method) at java.base/java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:107) at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:412) at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:255) at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:237) at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.base/java.net.Socket.connect(Socket.java:609) at okhttp3.internal.platform.Platform.connectSocket(Platform.java:129) at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:245) at okhttp3.internal.connection.RealConnection.connect(RealConnection.java:165) at okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:257) at okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:135) at okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:114) at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:126) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:200) at okhttp3.RealCall.execute(RealCall.java:77) at org.openqa.selenium.remote.internal.OkHttpClient.execute(OkHttpClient.java:103) at io.appium.java_client.remote.AppiumCommandExecutor.lambda$1(AppiumCommandExecutor.java:162) at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:105) at jdk.internal.reflect.GeneratedMethodAccessor139.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at io.appium.java_client.remote.AppiumCommandExecutor$1.createSession(AppiumCommandExecutor.java:193) at io.appium.java_client.remote.AppiumCommandExecutor.createSession(AppiumCommandExecutor.java:225) at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:250) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:41) at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:213) at io.appium.java_client.AppiumDriver.startSession(AppiumDriver.java:363) at org.openqa.selenium.remote.RemoteWebDriver.(init)(RemoteWebDriver.java:131) at io.appium.java_client.DefaultGenericMobileDriver.(init)(DefaultGenericMobileDriver.java:37) at io.appium.java_client.AppiumDriver.(init)(AppiumDriver.java:89) at io.appium.java_client.AppiumDriver.(init)(AppiumDriver.java:99) at io.appium.java_client.android.AndroidDriver.(init)(AndroidDriver.java:97) at com.nttdata.ct.mobile.lib.SetDriver.configAndroidDriver(SetDriver.java:35) at com.nttdata.ct.mobile.lib.MobileDriverManager.setUpDriver(MobileDriverManager.java:50) at com.nttdata.ct.mobile.glue.LoginSD.queElUsuarioInicióSesiónExitosamenteConSusCredencialesYConPerfil(LoginSD.java:100) at com.nttdata.ct.mobile.glue.LoginSD$$FastClassBySpringCGLIB$$7eb0c213.invoke((generated)) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:779) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:64) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:692) at com.nttdata.ct.mobile.glue.LoginSD$$EnhancerBySpringCGLIB$$719f4ed5.queElUsuarioInicióSesiónExitosamenteConSusCredencialesYConPerfil((generated)) at jdk.internal.reflect.GeneratedMethodAccessor156.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at io.cucumber.java.Invoker.doInvoke(Invoker.java:66) at io.cucumber.java.Invoker.invoke(Invoker.java:24) at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47) at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29) at io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66) at io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63) at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10) at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:86) at io.cucumber.core.runner.TestStep.run(TestStep.java:57) at io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51) at io.cucumber.core.runner.TestCase.run(TestCase.java:95) at io.cucumber.core.runner.Runner.runPickle(Runner.java:75) at io.cucumber.junit.PickleRunners$WithStepDescriptions.lambda$run$1(PickleRunners.java:109) at io.cucumber.core.runtime.CucumberExecutionContext.lambda$runTestCase$3(CucumberExecutionContext.java:151) at io.cucumber.core.runtime.RethrowingThrowableCollector.executeAndThrow(RethrowingThrowableCollector.java:23) at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:151) at io.cucumber.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:106) at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:144) at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:28) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at io.cucumber.junit.FeatureRunner.run(FeatureRunner.java:137) at io.cucumber.junit.Cucumber.runChild(Cucumber.java:196) at io.cucumber.junit.Cucumber.runChild(Cucumber.java:89) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at io.cucumber.junit.Cucumber$RunBeforeAllHooks.evaluate(Cucumber.java:266) at io.cucumber.junit.Cucumber$RunAfterAllHooks.evaluate(Cucumber.java:281) at io.cucumber.junit.Cucumber$StartTestRun.evaluate(Cucumber.java:233) at io.cucumber.junit.Cucumber$FinishTestRun.evaluate(Cucumber.java:248) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69) at com.intellij.rt.junit.IdeaTestRunner$Repeater$1.execute(IdeaTestRunner.java:38) at com.intellij.rt.execution.junit.TestsRepeater.repeat(TestsRepeater.java:11) at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:35) at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:232) at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:55)
And
configuró una impresora
And
tocó la opción "Ventas" en el Menú de opciones
And
fue redirigido a la vista "Venta rápida"
When
elija cualquier producto de la categoria "Limpieza" y agregue cualquier cantidad del mismo
And
elija cualquier producto de la categoria "Sillas" y agregue cualquier cantidad del mismo
And
elija cualquier producto de la categoria "Platos para Mascotas" y agregue cualquier cantidad del mismo
And
agregue una promoción
And
termine de elegir sus productos
And
termine de realizar su pedido
And
elija Nota de Venta DNI, llene los campos obligatorios "Bryan" "47967286" y proceda a continuar
And
elija el método de pago MIXTO
And
elija el método de pago Billetera y pague el "50%"
And
proceda a continuar con el siguiente pago
And
elija el método de pago Efectivo y pague el "50%"
And
termine de efectuar el pago MIXTO
And
al procesarse el pago y el usuario "311224_vcia7@yopmail.com" toque la opción Nueva venta
Then
deberá ser redirigido a al Menú de opciones
org.openqa.selenium.WebDriverException: Connection refused: connect Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03' System info: host: 'NTTD-JFLJMN3', ip: '192.168.0.151', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '11.0.24' Driver info: driver.version: RemoteWebDriver at io.appium.java_client.remote.AppiumCommandExecutor.lambda$6(AppiumCommandExecutor.java:262) at java.base/java.util.Optional.orElseGet(Optional.java:369) at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:261) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:45) at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) at org.openqa.selenium.remote.RemoteWebDriver.getScreenshotAs(RemoteWebDriver.java:295) at com.nttdata.ct.mobile.service.stepdefinition.ManageScenario.printFullView(ManageScenario.java:27) at com.nttdata.ct.mobile.service.stepdefinition.ManageScenario.shotWhenFail(ManageScenario.java:33) at com.nttdata.ct.mobile.hooks.Hooks.tearDown(Hooks.java:38) Caused by: java.net.ConnectException: Connection refused: connect at java.base/java.net.PlainSocketImpl.waitForConnect(Native Method) at java.base/java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:107) at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:412) at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:255) at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:237) at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.base/java.net.Socket.connect(Socket.java:609) at okhttp3.internal.platform.Platform.connectSocket(Platform.java:129) at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:245) at okhttp3.internal.connection.RealConnection.connect(RealConnection.java:165) at okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:257) at okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:135) at okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:114) at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:126) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:200) at okhttp3.RealCall.execute(RealCall.java:77) at org.openqa.selenium.remote.internal.OkHttpClient.execute(OkHttpClient.java:103) at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:155) at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:250) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:45) at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) at org.openqa.selenium.remote.RemoteWebDriver.getScreenshotAs(RemoteWebDriver.java:295) at com.nttdata.ct.mobile.service.stepdefinition.ManageScenario.printFullView(ManageScenario.java:27) at com.nttdata.ct.mobile.service.stepdefinition.ManageScenario.shotWhenFail(ManageScenario.java:33) at com.nttdata.ct.mobile.hooks.Hooks.tearDown(Hooks.java:38) at jdk.internal.reflect.GeneratedMethodAccessor151.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at io.cucumber.java.Invoker.doInvoke(Invoker.java:66) at io.cucumber.java.Invoker.invoke(Invoker.java:24) at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47) at io.cucumber.java.JavaHookDefinition.execute(JavaHookDefinition.java:64) at io.cucumber.core.runner.CoreHookDefinition.execute(CoreHookDefinition.java:46) at io.cucumber.core.runner.HookDefinitionMatch.runStep(HookDefinitionMatch.java:21) at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10) at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:86) at io.cucumber.core.runner.TestStep.run(TestStep.java:57) at io.cucumber.core.runner.TestCase.run(TestCase.java:101) at io.cucumber.core.runner.Runner.runPickle(Runner.java:75) at io.cucumber.junit.PickleRunners$WithStepDescriptions.lambda$run$1(PickleRunners.java:109) at io.cucumber.core.runtime.CucumberExecutionContext.lambda$runTestCase$3(CucumberExecutionContext.java:151) at io.cucumber.core.runtime.RethrowingThrowableCollector.executeAndThrow(RethrowingThrowableCollector.java:23) at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:151) at io.cucumber.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:106) at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:144) at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:28) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at io.cucumber.junit.FeatureRunner.run(FeatureRunner.java:137) at io.cucumber.junit.Cucumber.runChild(Cucumber.java:196) at io.cucumber.junit.Cucumber.runChild(Cucumber.java:89) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at io.cucumber.junit.Cucumber$RunBeforeAllHooks.evaluate(Cucumber.java:266) at io.cucumber.junit.Cucumber$RunAfterAllHooks.evaluate(Cucumber.java:281) at io.cucumber.junit.Cucumber$StartTestRun.evaluate(Cucumber.java:233) at io.cucumber.junit.Cucumber$FinishTestRun.evaluate(Cucumber.java:248) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69) at com.intellij.rt.junit.IdeaTestRunner$Repeater$1.execute(IdeaTestRunner.java:38) at com.intellij.rt.execution.junit.TestsRepeater.repeat(TestsRepeater.java:11) at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:35) at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:232) at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:55)
org.openqa.selenium.WebDriverException: Connection refused: connect Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03' System info: host: 'NTTD-JFLJMN3', ip: '192.168.0.151', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '11.0.24' Driver info: driver.version: AndroidDriver at io.appium.java_client.remote.AppiumCommandExecutor.lambda$6(AppiumCommandExecutor.java:262) at java.base/java.util.Optional.orElseGet(Optional.java:369) at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:261) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:45) at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) at io.appium.java_client.screenrecording.CanRecordScreen.stopRecordingScreen(CanRecordScreen.java:72) at com.nttdata.ct.mobile.service.screenrecorder.ScreenRecorder.stopRecording(ScreenRecorder.java:60) at com.nttdata.ct.mobile.lib.MobileDriverManager.quitDriver(MobileDriverManager.java:122) at com.nttdata.ct.mobile.hooks.Hooks.afterScenario(Hooks.java:33) Caused by: java.net.ConnectException: Connection refused: connect at java.base/java.net.PlainSocketImpl.waitForConnect(Native Method) at java.base/java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:107) at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:412) at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:255) at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:237) at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.base/java.net.Socket.connect(Socket.java:609) at okhttp3.internal.platform.Platform.connectSocket(Platform.java:129) at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:245) at okhttp3.internal.connection.RealConnection.connect(RealConnection.java:165) at okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:257) at okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:135) at okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:114) at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:126) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:200) at okhttp3.RealCall.execute(RealCall.java:77) at org.openqa.selenium.remote.internal.OkHttpClient.execute(OkHttpClient.java:103) at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:155) at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:250) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:45) at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) at io.appium.java_client.screenrecording.CanRecordScreen.stopRecordingScreen(CanRecordScreen.java:72) at com.nttdata.ct.mobile.service.screenrecorder.ScreenRecorder.stopRecording(ScreenRecorder.java:60) at com.nttdata.ct.mobile.lib.MobileDriverManager.quitDriver(MobileDriverManager.java:122) at com.nttdata.ct.mobile.hooks.Hooks.afterScenario(Hooks.java:33) at jdk.internal.reflect.GeneratedMethodAccessor152.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at io.cucumber.java.Invoker.doInvoke(Invoker.java:66) at io.cucumber.java.Invoker.invoke(Invoker.java:24) at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47) at io.cucumber.java.JavaHookDefinition.execute(JavaHookDefinition.java:64) at io.cucumber.core.runner.CoreHookDefinition.execute(CoreHookDefinition.java:46) at io.cucumber.core.runner.HookDefinitionMatch.runStep(HookDefinitionMatch.java:21) at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10) at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:86) at io.cucumber.core.runner.TestStep.run(TestStep.java:57) at io.cucumber.core.runner.TestCase.run(TestCase.java:101) at io.cucumber.core.runner.Runner.runPickle(Runner.java:75) at io.cucumber.junit.PickleRunners$WithStepDescriptions.lambda$run$1(PickleRunners.java:109) at io.cucumber.core.runtime.CucumberExecutionContext.lambda$runTestCase$3(CucumberExecutionContext.java:151) at io.cucumber.core.runtime.RethrowingThrowableCollector.executeAndThrow(RethrowingThrowableCollector.java:23) at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:151) at io.cucumber.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:106) at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:144) at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:28) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at io.cucumber.junit.FeatureRunner.run(FeatureRunner.java:137) at io.cucumber.junit.Cucumber.runChild(Cucumber.java:196) at io.cucumber.junit.Cucumber.runChild(Cucumber.java:89) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at io.cucumber.junit.Cucumber$RunBeforeAllHooks.evaluate(Cucumber.java:266) at io.cucumber.junit.Cucumber$RunAfterAllHooks.evaluate(Cucumber.java:281) at io.cucumber.junit.Cucumber$StartTestRun.evaluate(Cucumber.java:233) at io.cucumber.junit.Cucumber$FinishTestRun.evaluate(Cucumber.java:248) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69) at com.intellij.rt.junit.IdeaTestRunner$Repeater$1.execute(IdeaTestRunner.java:38) at com.intellij.rt.execution.junit.TestsRepeater.repeat(TestsRepeater.java:11) at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:35) at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:232) at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:55)
@NBP-1482
@TEST_NBP-1433
@Automatizado
@2025Q1SP01
Scenario Outline: CP060 - Validar un flujo de Venta rápida con Plan Inicia, Nota de Venta CE y pago MIXTO (Billetera y Billetera)
Before
Hook
Given
que el usuario inició sesión exitosamente con sus credenciales "311224_vcia7@yopmail.com" y "777777777@Aa" con perfil "Vendedor Comercio"
+ Show Error
org.openqa.selenium.WebDriverException: Connection refused: connect Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03' System info: host: 'NTTD-JFLJMN3', ip: '192.168.0.151', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '11.0.24' Driver info: driver.version: SetDriver at io.appium.java_client.remote.AppiumCommandExecutor.lambda$6(AppiumCommandExecutor.java:262) at java.base/java.util.Optional.orElseGet(Optional.java:369) at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:261) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:41) at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:213) at io.appium.java_client.AppiumDriver.startSession(AppiumDriver.java:363) at org.openqa.selenium.remote.RemoteWebDriver.(init)(RemoteWebDriver.java:131) at io.appium.java_client.DefaultGenericMobileDriver.(init)(DefaultGenericMobileDriver.java:37) at io.appium.java_client.AppiumDriver.(init)(AppiumDriver.java:89) at io.appium.java_client.AppiumDriver.(init)(AppiumDriver.java:99) at io.appium.java_client.android.AndroidDriver.(init)(AndroidDriver.java:97) at com.nttdata.ct.mobile.lib.SetDriver.configAndroidDriver(SetDriver.java:35) at com.nttdata.ct.mobile.lib.MobileDriverManager.setUpDriver(MobileDriverManager.java:50) at com.nttdata.ct.mobile.glue.LoginSD.queElUsuarioInicióSesiónExitosamenteConSusCredencialesYConPerfil(LoginSD.java:100) at ✽.que el usuario inició sesión exitosamente con sus credenciales "311224_vcia7@yopmail.com" y "777777777@Aa" con perfil "Vendedor Comercio"(file:///C:/Users/bfloresg/OneDrive%20-%20NTT%20DATA%20EMEAL/Documents/PROYECTOS/NIUBIZ/POS%20COMERCIO/vas-mobile-automation-testing/NIUBIZ_POINT_APP_COMERCIO_POS/src/test/resources/features/POS%20PAX-A920%20APP-COMERCIO.feature:780) Caused by: java.net.ConnectException: Connection refused: connect at java.base/java.net.PlainSocketImpl.waitForConnect(Native Method) at java.base/java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:107) at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:412) at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:255) at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:237) at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.base/java.net.Socket.connect(Socket.java:609) at okhttp3.internal.platform.Platform.connectSocket(Platform.java:129) at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:245) at okhttp3.internal.connection.RealConnection.connect(RealConnection.java:165) at okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:257) at okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:135) at okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:114) at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:126) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:200) at okhttp3.RealCall.execute(RealCall.java:77) at org.openqa.selenium.remote.internal.OkHttpClient.execute(OkHttpClient.java:103) at io.appium.java_client.remote.AppiumCommandExecutor.lambda$1(AppiumCommandExecutor.java:162) at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:105) at jdk.internal.reflect.GeneratedMethodAccessor139.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at io.appium.java_client.remote.AppiumCommandExecutor$1.createSession(AppiumCommandExecutor.java:193) at io.appium.java_client.remote.AppiumCommandExecutor.createSession(AppiumCommandExecutor.java:225) at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:250) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:41) at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:213) at io.appium.java_client.AppiumDriver.startSession(AppiumDriver.java:363) at org.openqa.selenium.remote.RemoteWebDriver.(init)(RemoteWebDriver.java:131) at io.appium.java_client.DefaultGenericMobileDriver.(init)(DefaultGenericMobileDriver.java:37) at io.appium.java_client.AppiumDriver.(init)(AppiumDriver.java:89) at io.appium.java_client.AppiumDriver.(init)(AppiumDriver.java:99) at io.appium.java_client.android.AndroidDriver.(init)(AndroidDriver.java:97) at com.nttdata.ct.mobile.lib.SetDriver.configAndroidDriver(SetDriver.java:35) at com.nttdata.ct.mobile.lib.MobileDriverManager.setUpDriver(MobileDriverManager.java:50) at com.nttdata.ct.mobile.glue.LoginSD.queElUsuarioInicióSesiónExitosamenteConSusCredencialesYConPerfil(LoginSD.java:100) at com.nttdata.ct.mobile.glue.LoginSD$$FastClassBySpringCGLIB$$7eb0c213.invoke((generated)) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:779) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:64) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:692) at com.nttdata.ct.mobile.glue.LoginSD$$EnhancerBySpringCGLIB$$719f4ed5.queElUsuarioInicióSesiónExitosamenteConSusCredencialesYConPerfil((generated)) at jdk.internal.reflect.GeneratedMethodAccessor156.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at io.cucumber.java.Invoker.doInvoke(Invoker.java:66) at io.cucumber.java.Invoker.invoke(Invoker.java:24) at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47) at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29) at io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66) at io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63) at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10) at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:86) at io.cucumber.core.runner.TestStep.run(TestStep.java:57) at io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51) at io.cucumber.core.runner.TestCase.run(TestCase.java:95) at io.cucumber.core.runner.Runner.runPickle(Runner.java:75) at io.cucumber.junit.PickleRunners$WithStepDescriptions.lambda$run$1(PickleRunners.java:109) at io.cucumber.core.runtime.CucumberExecutionContext.lambda$runTestCase$3(CucumberExecutionContext.java:151) at io.cucumber.core.runtime.RethrowingThrowableCollector.executeAndThrow(RethrowingThrowableCollector.java:23) at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:151) at io.cucumber.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:106) at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:144) at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:28) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at io.cucumber.junit.FeatureRunner.run(FeatureRunner.java:137) at io.cucumber.junit.Cucumber.runChild(Cucumber.java:196) at io.cucumber.junit.Cucumber.runChild(Cucumber.java:89) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at io.cucumber.junit.Cucumber$RunBeforeAllHooks.evaluate(Cucumber.java:266) at io.cucumber.junit.Cucumber$RunAfterAllHooks.evaluate(Cucumber.java:281) at io.cucumber.junit.Cucumber$StartTestRun.evaluate(Cucumber.java:233) at io.cucumber.junit.Cucumber$FinishTestRun.evaluate(Cucumber.java:248) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69) at com.intellij.rt.junit.IdeaTestRunner$Repeater$1.execute(IdeaTestRunner.java:38) at com.intellij.rt.execution.junit.TestsRepeater.repeat(TestsRepeater.java:11) at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:35) at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:232) at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:55)
And
configuró una impresora
And
tocó la opción "Ventas" en el Menú de opciones
And
fue redirigido a la vista "Venta rápida"
When
elija cualquier producto de la categoria "Limpieza" y agregue cualquier cantidad del mismo
And
elija cualquier producto de la categoria "Sillas" y agregue cualquier cantidad del mismo
And
elija cualquier producto de la categoria "Platos para Mascotas" y agregue cualquier cantidad del mismo
And
agregue una promoción
And
termine de elegir sus productos
And
termine de realizar su pedido
And
elija Nota de Venta CE, llene los campos obligatorios "Bryan" "479672860000" y proceda a continuar
And
elija el método de pago MIXTO
And
elija el método de pago Billetera y pague el "50%"
And
proceda a continuar con el siguiente pago
And
elija el método de pago Billetera y pague el "50%"
And
termine de efectuar el pago MIXTO
And
al procesarse el pago y el usuario "311224_vcia7@yopmail.com" toque la opción Nueva venta
Then
deberá ser redirigido a al Menú de opciones
org.openqa.selenium.WebDriverException: Connection refused: connect Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03' System info: host: 'NTTD-JFLJMN3', ip: '192.168.0.151', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '11.0.24' Driver info: driver.version: RemoteWebDriver at io.appium.java_client.remote.AppiumCommandExecutor.lambda$6(AppiumCommandExecutor.java:262) at java.base/java.util.Optional.orElseGet(Optional.java:369) at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:261) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:45) at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) at org.openqa.selenium.remote.RemoteWebDriver.getScreenshotAs(RemoteWebDriver.java:295) at com.nttdata.ct.mobile.service.stepdefinition.ManageScenario.printFullView(ManageScenario.java:27) at com.nttdata.ct.mobile.service.stepdefinition.ManageScenario.shotWhenFail(ManageScenario.java:33) at com.nttdata.ct.mobile.hooks.Hooks.tearDown(Hooks.java:38) Caused by: java.net.ConnectException: Connection refused: connect at java.base/java.net.PlainSocketImpl.waitForConnect(Native Method) at java.base/java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:107) at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:412) at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:255) at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:237) at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.base/java.net.Socket.connect(Socket.java:609) at okhttp3.internal.platform.Platform.connectSocket(Platform.java:129) at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:245) at okhttp3.internal.connection.RealConnection.connect(RealConnection.java:165) at okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:257) at okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:135) at okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:114) at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:126) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:200) at okhttp3.RealCall.execute(RealCall.java:77) at org.openqa.selenium.remote.internal.OkHttpClient.execute(OkHttpClient.java:103) at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:155) at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:250) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:45) at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) at org.openqa.selenium.remote.RemoteWebDriver.getScreenshotAs(RemoteWebDriver.java:295) at com.nttdata.ct.mobile.service.stepdefinition.ManageScenario.printFullView(ManageScenario.java:27) at com.nttdata.ct.mobile.service.stepdefinition.ManageScenario.shotWhenFail(ManageScenario.java:33) at com.nttdata.ct.mobile.hooks.Hooks.tearDown(Hooks.java:38) at jdk.internal.reflect.GeneratedMethodAccessor151.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at io.cucumber.java.Invoker.doInvoke(Invoker.java:66) at io.cucumber.java.Invoker.invoke(Invoker.java:24) at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47) at io.cucumber.java.JavaHookDefinition.execute(JavaHookDefinition.java:64) at io.cucumber.core.runner.CoreHookDefinition.execute(CoreHookDefinition.java:46) at io.cucumber.core.runner.HookDefinitionMatch.runStep(HookDefinitionMatch.java:21) at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10) at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:86) at io.cucumber.core.runner.TestStep.run(TestStep.java:57) at io.cucumber.core.runner.TestCase.run(TestCase.java:101) at io.cucumber.core.runner.Runner.runPickle(Runner.java:75) at io.cucumber.junit.PickleRunners$WithStepDescriptions.lambda$run$1(PickleRunners.java:109) at io.cucumber.core.runtime.CucumberExecutionContext.lambda$runTestCase$3(CucumberExecutionContext.java:151) at io.cucumber.core.runtime.RethrowingThrowableCollector.executeAndThrow(RethrowingThrowableCollector.java:23) at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:151) at io.cucumber.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:106) at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:144) at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:28) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at io.cucumber.junit.FeatureRunner.run(FeatureRunner.java:137) at io.cucumber.junit.Cucumber.runChild(Cucumber.java:196) at io.cucumber.junit.Cucumber.runChild(Cucumber.java:89) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at io.cucumber.junit.Cucumber$RunBeforeAllHooks.evaluate(Cucumber.java:266) at io.cucumber.junit.Cucumber$RunAfterAllHooks.evaluate(Cucumber.java:281) at io.cucumber.junit.Cucumber$StartTestRun.evaluate(Cucumber.java:233) at io.cucumber.junit.Cucumber$FinishTestRun.evaluate(Cucumber.java:248) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69) at com.intellij.rt.junit.IdeaTestRunner$Repeater$1.execute(IdeaTestRunner.java:38) at com.intellij.rt.execution.junit.TestsRepeater.repeat(TestsRepeater.java:11) at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:35) at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:232) at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:55)
org.openqa.selenium.WebDriverException: Connection refused: connect Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03' System info: host: 'NTTD-JFLJMN3', ip: '192.168.0.151', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '11.0.24' Driver info: driver.version: AndroidDriver at io.appium.java_client.remote.AppiumCommandExecutor.lambda$6(AppiumCommandExecutor.java:262) at java.base/java.util.Optional.orElseGet(Optional.java:369) at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:261) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:45) at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) at io.appium.java_client.screenrecording.CanRecordScreen.stopRecordingScreen(CanRecordScreen.java:72) at com.nttdata.ct.mobile.service.screenrecorder.ScreenRecorder.stopRecording(ScreenRecorder.java:60) at com.nttdata.ct.mobile.lib.MobileDriverManager.quitDriver(MobileDriverManager.java:122) at com.nttdata.ct.mobile.hooks.Hooks.afterScenario(Hooks.java:33) Caused by: java.net.ConnectException: Connection refused: connect at java.base/java.net.PlainSocketImpl.waitForConnect(Native Method) at java.base/java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:107) at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:412) at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:255) at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:237) at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.base/java.net.Socket.connect(Socket.java:609) at okhttp3.internal.platform.Platform.connectSocket(Platform.java:129) at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:245) at okhttp3.internal.connection.RealConnection.connect(RealConnection.java:165) at okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:257) at okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:135) at okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:114) at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:126) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:200) at okhttp3.RealCall.execute(RealCall.java:77) at org.openqa.selenium.remote.internal.OkHttpClient.execute(OkHttpClient.java:103) at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:155) at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:250) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:45) at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) at io.appium.java_client.screenrecording.CanRecordScreen.stopRecordingScreen(CanRecordScreen.java:72) at com.nttdata.ct.mobile.service.screenrecorder.ScreenRecorder.stopRecording(ScreenRecorder.java:60) at com.nttdata.ct.mobile.lib.MobileDriverManager.quitDriver(MobileDriverManager.java:122) at com.nttdata.ct.mobile.hooks.Hooks.afterScenario(Hooks.java:33) at jdk.internal.reflect.GeneratedMethodAccessor152.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at io.cucumber.java.Invoker.doInvoke(Invoker.java:66) at io.cucumber.java.Invoker.invoke(Invoker.java:24) at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47) at io.cucumber.java.JavaHookDefinition.execute(JavaHookDefinition.java:64) at io.cucumber.core.runner.CoreHookDefinition.execute(CoreHookDefinition.java:46) at io.cucumber.core.runner.HookDefinitionMatch.runStep(HookDefinitionMatch.java:21) at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10) at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:86) at io.cucumber.core.runner.TestStep.run(TestStep.java:57) at io.cucumber.core.runner.TestCase.run(TestCase.java:101) at io.cucumber.core.runner.Runner.runPickle(Runner.java:75) at io.cucumber.junit.PickleRunners$WithStepDescriptions.lambda$run$1(PickleRunners.java:109) at io.cucumber.core.runtime.CucumberExecutionContext.lambda$runTestCase$3(CucumberExecutionContext.java:151) at io.cucumber.core.runtime.RethrowingThrowableCollector.executeAndThrow(RethrowingThrowableCollector.java:23) at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:151) at io.cucumber.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:106) at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:144) at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:28) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at io.cucumber.junit.FeatureRunner.run(FeatureRunner.java:137) at io.cucumber.junit.Cucumber.runChild(Cucumber.java:196) at io.cucumber.junit.Cucumber.runChild(Cucumber.java:89) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at io.cucumber.junit.Cucumber$RunBeforeAllHooks.evaluate(Cucumber.java:266) at io.cucumber.junit.Cucumber$RunAfterAllHooks.evaluate(Cucumber.java:281) at io.cucumber.junit.Cucumber$StartTestRun.evaluate(Cucumber.java:233) at io.cucumber.junit.Cucumber$FinishTestRun.evaluate(Cucumber.java:248) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69) at com.intellij.rt.junit.IdeaTestRunner$Repeater$1.execute(IdeaTestRunner.java:38) at com.intellij.rt.execution.junit.TestsRepeater.repeat(TestsRepeater.java:11) at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:35) at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:232) at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:55)
@NBP-1482
@TEST_NBP-1434
@Automatizado
@2025Q1SP01
Scenario Outline: CP061 - Validar un flujo de Venta rápida con Plan Inicia, Nota de Venta PAS y pago MIXTO (Efectivo, Tarjeta y Billetera)
Before
Hook
Given
que el usuario inició sesión exitosamente con sus credenciales "311224_vcia7@yopmail.com" y "777777777@Aa" con perfil "Vendedor Comercio"
+ Show Error
org.openqa.selenium.WebDriverException: Connection refused: connect Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03' System info: host: 'NTTD-JFLJMN3', ip: '192.168.0.151', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '11.0.24' Driver info: driver.version: SetDriver at io.appium.java_client.remote.AppiumCommandExecutor.lambda$6(AppiumCommandExecutor.java:262) at java.base/java.util.Optional.orElseGet(Optional.java:369) at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:261) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:41) at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:213) at io.appium.java_client.AppiumDriver.startSession(AppiumDriver.java:363) at org.openqa.selenium.remote.RemoteWebDriver.(init)(RemoteWebDriver.java:131) at io.appium.java_client.DefaultGenericMobileDriver.(init)(DefaultGenericMobileDriver.java:37) at io.appium.java_client.AppiumDriver.(init)(AppiumDriver.java:89) at io.appium.java_client.AppiumDriver.(init)(AppiumDriver.java:99) at io.appium.java_client.android.AndroidDriver.(init)(AndroidDriver.java:97) at com.nttdata.ct.mobile.lib.SetDriver.configAndroidDriver(SetDriver.java:35) at com.nttdata.ct.mobile.lib.MobileDriverManager.setUpDriver(MobileDriverManager.java:50) at com.nttdata.ct.mobile.glue.LoginSD.queElUsuarioInicióSesiónExitosamenteConSusCredencialesYConPerfil(LoginSD.java:100) at ✽.que el usuario inició sesión exitosamente con sus credenciales "311224_vcia7@yopmail.com" y "777777777@Aa" con perfil "Vendedor Comercio"(file:///C:/Users/bfloresg/OneDrive%20-%20NTT%20DATA%20EMEAL/Documents/PROYECTOS/NIUBIZ/POS%20COMERCIO/vas-mobile-automation-testing/NIUBIZ_POINT_APP_COMERCIO_POS/src/test/resources/features/POS%20PAX-A920%20APP-COMERCIO.feature:805) Caused by: java.net.ConnectException: Connection refused: connect at java.base/java.net.PlainSocketImpl.waitForConnect(Native Method) at java.base/java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:107) at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:412) at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:255) at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:237) at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.base/java.net.Socket.connect(Socket.java:609) at okhttp3.internal.platform.Platform.connectSocket(Platform.java:129) at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:245) at okhttp3.internal.connection.RealConnection.connect(RealConnection.java:165) at okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:257) at okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:135) at okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:114) at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:126) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:200) at okhttp3.RealCall.execute(RealCall.java:77) at org.openqa.selenium.remote.internal.OkHttpClient.execute(OkHttpClient.java:103) at io.appium.java_client.remote.AppiumCommandExecutor.lambda$1(AppiumCommandExecutor.java:162) at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:105) at jdk.internal.reflect.GeneratedMethodAccessor139.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at io.appium.java_client.remote.AppiumCommandExecutor$1.createSession(AppiumCommandExecutor.java:193) at io.appium.java_client.remote.AppiumCommandExecutor.createSession(AppiumCommandExecutor.java:225) at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:250) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:41) at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:213) at io.appium.java_client.AppiumDriver.startSession(AppiumDriver.java:363) at org.openqa.selenium.remote.RemoteWebDriver.(init)(RemoteWebDriver.java:131) at io.appium.java_client.DefaultGenericMobileDriver.(init)(DefaultGenericMobileDriver.java:37) at io.appium.java_client.AppiumDriver.(init)(AppiumDriver.java:89) at io.appium.java_client.AppiumDriver.(init)(AppiumDriver.java:99) at io.appium.java_client.android.AndroidDriver.(init)(AndroidDriver.java:97) at com.nttdata.ct.mobile.lib.SetDriver.configAndroidDriver(SetDriver.java:35) at com.nttdata.ct.mobile.lib.MobileDriverManager.setUpDriver(MobileDriverManager.java:50) at com.nttdata.ct.mobile.glue.LoginSD.queElUsuarioInicióSesiónExitosamenteConSusCredencialesYConPerfil(LoginSD.java:100) at com.nttdata.ct.mobile.glue.LoginSD$$FastClassBySpringCGLIB$$7eb0c213.invoke((generated)) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:779) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:64) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:692) at com.nttdata.ct.mobile.glue.LoginSD$$EnhancerBySpringCGLIB$$719f4ed5.queElUsuarioInicióSesiónExitosamenteConSusCredencialesYConPerfil((generated)) at jdk.internal.reflect.GeneratedMethodAccessor156.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at io.cucumber.java.Invoker.doInvoke(Invoker.java:66) at io.cucumber.java.Invoker.invoke(Invoker.java:24) at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47) at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29) at io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66) at io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63) at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10) at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:86) at io.cucumber.core.runner.TestStep.run(TestStep.java:57) at io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51) at io.cucumber.core.runner.TestCase.run(TestCase.java:95) at io.cucumber.core.runner.Runner.runPickle(Runner.java:75) at io.cucumber.junit.PickleRunners$WithStepDescriptions.lambda$run$1(PickleRunners.java:109) at io.cucumber.core.runtime.CucumberExecutionContext.lambda$runTestCase$3(CucumberExecutionContext.java:151) at io.cucumber.core.runtime.RethrowingThrowableCollector.executeAndThrow(RethrowingThrowableCollector.java:23) at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:151) at io.cucumber.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:106) at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:144) at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:28) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at io.cucumber.junit.FeatureRunner.run(FeatureRunner.java:137) at io.cucumber.junit.Cucumber.runChild(Cucumber.java:196) at io.cucumber.junit.Cucumber.runChild(Cucumber.java:89) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at io.cucumber.junit.Cucumber$RunBeforeAllHooks.evaluate(Cucumber.java:266) at io.cucumber.junit.Cucumber$RunAfterAllHooks.evaluate(Cucumber.java:281) at io.cucumber.junit.Cucumber$StartTestRun.evaluate(Cucumber.java:233) at io.cucumber.junit.Cucumber$FinishTestRun.evaluate(Cucumber.java:248) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69) at com.intellij.rt.junit.IdeaTestRunner$Repeater$1.execute(IdeaTestRunner.java:38) at com.intellij.rt.execution.junit.TestsRepeater.repeat(TestsRepeater.java:11) at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:35) at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:232) at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:55)
And
configuró una impresora
And
tocó la opción "Ventas" en el Menú de opciones
And
fue redirigido a la vista "Venta rápida"
When
elija cualquier producto de la categoria "Limpieza" y agregue cualquier cantidad del mismo
And
elija cualquier producto de la categoria "Sillas" y agregue cualquier cantidad del mismo
And
elija cualquier producto de la categoria "Platos para Mascotas" y agregue cualquier cantidad del mismo
And
agregue una promoción
And
termine de elegir sus productos
And
termine de realizar su pedido
And
elija Nota de Venta PAS, llene los campos obligatorios "Bryan" "479672860000" y proceda a continuar
And
elija el método de pago MIXTO
And
elija el método de pago Efectivo y pague el "10%"
And
proceda a continuar con el siguiente pago
And
elija el método de pago Tarjeta y pague el "80%"
And
proceda a continuar con el siguiente pago
And
elija el método de pago Billetera y pague el "10%"
And
termine de efectuar el pago MIXTO
And
al procesarse el pago y el usuario "311224_vcia7@yopmail.com" toque la opción Nueva venta
Then
deberá ser redirigido a al Menú de opciones
org.openqa.selenium.WebDriverException: Connection refused: connect Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03' System info: host: 'NTTD-JFLJMN3', ip: '192.168.0.151', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '11.0.24' Driver info: driver.version: RemoteWebDriver at io.appium.java_client.remote.AppiumCommandExecutor.lambda$6(AppiumCommandExecutor.java:262) at java.base/java.util.Optional.orElseGet(Optional.java:369) at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:261) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:45) at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) at org.openqa.selenium.remote.RemoteWebDriver.getScreenshotAs(RemoteWebDriver.java:295) at com.nttdata.ct.mobile.service.stepdefinition.ManageScenario.printFullView(ManageScenario.java:27) at com.nttdata.ct.mobile.service.stepdefinition.ManageScenario.shotWhenFail(ManageScenario.java:33) at com.nttdata.ct.mobile.hooks.Hooks.tearDown(Hooks.java:38) Caused by: java.net.ConnectException: Connection refused: connect at java.base/java.net.PlainSocketImpl.waitForConnect(Native Method) at java.base/java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:107) at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:412) at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:255) at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:237) at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.base/java.net.Socket.connect(Socket.java:609) at okhttp3.internal.platform.Platform.connectSocket(Platform.java:129) at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:245) at okhttp3.internal.connection.RealConnection.connect(RealConnection.java:165) at okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:257) at okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:135) at okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:114) at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:126) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:200) at okhttp3.RealCall.execute(RealCall.java:77) at org.openqa.selenium.remote.internal.OkHttpClient.execute(OkHttpClient.java:103) at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:155) at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:250) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:45) at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) at org.openqa.selenium.remote.RemoteWebDriver.getScreenshotAs(RemoteWebDriver.java:295) at com.nttdata.ct.mobile.service.stepdefinition.ManageScenario.printFullView(ManageScenario.java:27) at com.nttdata.ct.mobile.service.stepdefinition.ManageScenario.shotWhenFail(ManageScenario.java:33) at com.nttdata.ct.mobile.hooks.Hooks.tearDown(Hooks.java:38) at jdk.internal.reflect.GeneratedMethodAccessor151.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at io.cucumber.java.Invoker.doInvoke(Invoker.java:66) at io.cucumber.java.Invoker.invoke(Invoker.java:24) at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47) at io.cucumber.java.JavaHookDefinition.execute(JavaHookDefinition.java:64) at io.cucumber.core.runner.CoreHookDefinition.execute(CoreHookDefinition.java:46) at io.cucumber.core.runner.HookDefinitionMatch.runStep(HookDefinitionMatch.java:21) at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10) at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:86) at io.cucumber.core.runner.TestStep.run(TestStep.java:57) at io.cucumber.core.runner.TestCase.run(TestCase.java:101) at io.cucumber.core.runner.Runner.runPickle(Runner.java:75) at io.cucumber.junit.PickleRunners$WithStepDescriptions.lambda$run$1(PickleRunners.java:109) at io.cucumber.core.runtime.CucumberExecutionContext.lambda$runTestCase$3(CucumberExecutionContext.java:151) at io.cucumber.core.runtime.RethrowingThrowableCollector.executeAndThrow(RethrowingThrowableCollector.java:23) at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:151) at io.cucumber.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:106) at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:144) at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:28) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at io.cucumber.junit.FeatureRunner.run(FeatureRunner.java:137) at io.cucumber.junit.Cucumber.runChild(Cucumber.java:196) at io.cucumber.junit.Cucumber.runChild(Cucumber.java:89) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at io.cucumber.junit.Cucumber$RunBeforeAllHooks.evaluate(Cucumber.java:266) at io.cucumber.junit.Cucumber$RunAfterAllHooks.evaluate(Cucumber.java:281) at io.cucumber.junit.Cucumber$StartTestRun.evaluate(Cucumber.java:233) at io.cucumber.junit.Cucumber$FinishTestRun.evaluate(Cucumber.java:248) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69) at com.intellij.rt.junit.IdeaTestRunner$Repeater$1.execute(IdeaTestRunner.java:38) at com.intellij.rt.execution.junit.TestsRepeater.repeat(TestsRepeater.java:11) at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:35) at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:232) at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:55)
org.openqa.selenium.WebDriverException: Connection refused: connect Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03' System info: host: 'NTTD-JFLJMN3', ip: '192.168.0.151', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '11.0.24' Driver info: driver.version: AndroidDriver at io.appium.java_client.remote.AppiumCommandExecutor.lambda$6(AppiumCommandExecutor.java:262) at java.base/java.util.Optional.orElseGet(Optional.java:369) at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:261) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:45) at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) at io.appium.java_client.screenrecording.CanRecordScreen.stopRecordingScreen(CanRecordScreen.java:72) at com.nttdata.ct.mobile.service.screenrecorder.ScreenRecorder.stopRecording(ScreenRecorder.java:60) at com.nttdata.ct.mobile.lib.MobileDriverManager.quitDriver(MobileDriverManager.java:122) at com.nttdata.ct.mobile.hooks.Hooks.afterScenario(Hooks.java:33) Caused by: java.net.ConnectException: Connection refused: connect at java.base/java.net.PlainSocketImpl.waitForConnect(Native Method) at java.base/java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:107) at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:412) at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:255) at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:237) at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.base/java.net.Socket.connect(Socket.java:609) at okhttp3.internal.platform.Platform.connectSocket(Platform.java:129) at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:245) at okhttp3.internal.connection.RealConnection.connect(RealConnection.java:165) at okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:257) at okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:135) at okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:114) at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:126) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:200) at okhttp3.RealCall.execute(RealCall.java:77) at org.openqa.selenium.remote.internal.OkHttpClient.execute(OkHttpClient.java:103) at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:155) at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:250) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:45) at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) at io.appium.java_client.screenrecording.CanRecordScreen.stopRecordingScreen(CanRecordScreen.java:72) at com.nttdata.ct.mobile.service.screenrecorder.ScreenRecorder.stopRecording(ScreenRecorder.java:60) at com.nttdata.ct.mobile.lib.MobileDriverManager.quitDriver(MobileDriverManager.java:122) at com.nttdata.ct.mobile.hooks.Hooks.afterScenario(Hooks.java:33) at jdk.internal.reflect.GeneratedMethodAccessor152.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at io.cucumber.java.Invoker.doInvoke(Invoker.java:66) at io.cucumber.java.Invoker.invoke(Invoker.java:24) at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47) at io.cucumber.java.JavaHookDefinition.execute(JavaHookDefinition.java:64) at io.cucumber.core.runner.CoreHookDefinition.execute(CoreHookDefinition.java:46) at io.cucumber.core.runner.HookDefinitionMatch.runStep(HookDefinitionMatch.java:21) at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10) at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:86) at io.cucumber.core.runner.TestStep.run(TestStep.java:57) at io.cucumber.core.runner.TestCase.run(TestCase.java:101) at io.cucumber.core.runner.Runner.runPickle(Runner.java:75) at io.cucumber.junit.PickleRunners$WithStepDescriptions.lambda$run$1(PickleRunners.java:109) at io.cucumber.core.runtime.CucumberExecutionContext.lambda$runTestCase$3(CucumberExecutionContext.java:151) at io.cucumber.core.runtime.RethrowingThrowableCollector.executeAndThrow(RethrowingThrowableCollector.java:23) at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:151) at io.cucumber.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:106) at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:144) at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:28) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at io.cucumber.junit.FeatureRunner.run(FeatureRunner.java:137) at io.cucumber.junit.Cucumber.runChild(Cucumber.java:196) at io.cucumber.junit.Cucumber.runChild(Cucumber.java:89) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at io.cucumber.junit.Cucumber$RunBeforeAllHooks.evaluate(Cucumber.java:266) at io.cucumber.junit.Cucumber$RunAfterAllHooks.evaluate(Cucumber.java:281) at io.cucumber.junit.Cucumber$StartTestRun.evaluate(Cucumber.java:233) at io.cucumber.junit.Cucumber$FinishTestRun.evaluate(Cucumber.java:248) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69) at com.intellij.rt.junit.IdeaTestRunner$Repeater$1.execute(IdeaTestRunner.java:38) at com.intellij.rt.execution.junit.TestsRepeater.repeat(TestsRepeater.java:11) at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:35) at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:232) at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:55)
@NBP-1482
@TEST_NBP-1435
@Automatizado
@2025Q1SP01
Scenario Outline: CP062 - Validar un flujo de Venta rápida con Plan Inicia, Nota de Venta CDI y pago con Efectivo
Before
Hook
Given
que el usuario inició sesión exitosamente con sus credenciales "311224_vcia7@yopmail.com" y "777777777@Aa" con perfil "Vendedor Comercio"
+ Show Error
org.openqa.selenium.WebDriverException: Connection refused: connect Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03' System info: host: 'NTTD-JFLJMN3', ip: '192.168.0.151', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '11.0.24' Driver info: driver.version: SetDriver at io.appium.java_client.remote.AppiumCommandExecutor.lambda$6(AppiumCommandExecutor.java:262) at java.base/java.util.Optional.orElseGet(Optional.java:369) at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:261) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:41) at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:213) at io.appium.java_client.AppiumDriver.startSession(AppiumDriver.java:363) at org.openqa.selenium.remote.RemoteWebDriver.(init)(RemoteWebDriver.java:131) at io.appium.java_client.DefaultGenericMobileDriver.(init)(DefaultGenericMobileDriver.java:37) at io.appium.java_client.AppiumDriver.(init)(AppiumDriver.java:89) at io.appium.java_client.AppiumDriver.(init)(AppiumDriver.java:99) at io.appium.java_client.android.AndroidDriver.(init)(AndroidDriver.java:97) at com.nttdata.ct.mobile.lib.SetDriver.configAndroidDriver(SetDriver.java:35) at com.nttdata.ct.mobile.lib.MobileDriverManager.setUpDriver(MobileDriverManager.java:50) at com.nttdata.ct.mobile.glue.LoginSD.queElUsuarioInicióSesiónExitosamenteConSusCredencialesYConPerfil(LoginSD.java:100) at ✽.que el usuario inició sesión exitosamente con sus credenciales "311224_vcia7@yopmail.com" y "777777777@Aa" con perfil "Vendedor Comercio"(file:///C:/Users/bfloresg/OneDrive%20-%20NTT%20DATA%20EMEAL/Documents/PROYECTOS/NIUBIZ/POS%20COMERCIO/vas-mobile-automation-testing/NIUBIZ_POINT_APP_COMERCIO_POS/src/test/resources/features/POS%20PAX-A920%20APP-COMERCIO.feature:832) Caused by: java.net.ConnectException: Connection refused: connect at java.base/java.net.PlainSocketImpl.waitForConnect(Native Method) at java.base/java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:107) at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:412) at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:255) at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:237) at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.base/java.net.Socket.connect(Socket.java:609) at okhttp3.internal.platform.Platform.connectSocket(Platform.java:129) at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:245) at okhttp3.internal.connection.RealConnection.connect(RealConnection.java:165) at okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:257) at okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:135) at okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:114) at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:126) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:200) at okhttp3.RealCall.execute(RealCall.java:77) at org.openqa.selenium.remote.internal.OkHttpClient.execute(OkHttpClient.java:103) at io.appium.java_client.remote.AppiumCommandExecutor.lambda$1(AppiumCommandExecutor.java:162) at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:105) at jdk.internal.reflect.GeneratedMethodAccessor139.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at io.appium.java_client.remote.AppiumCommandExecutor$1.createSession(AppiumCommandExecutor.java:193) at io.appium.java_client.remote.AppiumCommandExecutor.createSession(AppiumCommandExecutor.java:225) at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:250) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:41) at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:213) at io.appium.java_client.AppiumDriver.startSession(AppiumDriver.java:363) at org.openqa.selenium.remote.RemoteWebDriver.(init)(RemoteWebDriver.java:131) at io.appium.java_client.DefaultGenericMobileDriver.(init)(DefaultGenericMobileDriver.java:37) at io.appium.java_client.AppiumDriver.(init)(AppiumDriver.java:89) at io.appium.java_client.AppiumDriver.(init)(AppiumDriver.java:99) at io.appium.java_client.android.AndroidDriver.(init)(AndroidDriver.java:97) at com.nttdata.ct.mobile.lib.SetDriver.configAndroidDriver(SetDriver.java:35) at com.nttdata.ct.mobile.lib.MobileDriverManager.setUpDriver(MobileDriverManager.java:50) at com.nttdata.ct.mobile.glue.LoginSD.queElUsuarioInicióSesiónExitosamenteConSusCredencialesYConPerfil(LoginSD.java:100) at com.nttdata.ct.mobile.glue.LoginSD$$FastClassBySpringCGLIB$$7eb0c213.invoke((generated)) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:779) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:64) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:692) at com.nttdata.ct.mobile.glue.LoginSD$$EnhancerBySpringCGLIB$$719f4ed5.queElUsuarioInicióSesiónExitosamenteConSusCredencialesYConPerfil((generated)) at jdk.internal.reflect.GeneratedMethodAccessor156.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at io.cucumber.java.Invoker.doInvoke(Invoker.java:66) at io.cucumber.java.Invoker.invoke(Invoker.java:24) at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47) at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29) at io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66) at io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63) at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10) at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:86) at io.cucumber.core.runner.TestStep.run(TestStep.java:57) at io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51) at io.cucumber.core.runner.TestCase.run(TestCase.java:95) at io.cucumber.core.runner.Runner.runPickle(Runner.java:75) at io.cucumber.junit.PickleRunners$WithStepDescriptions.lambda$run$1(PickleRunners.java:109) at io.cucumber.core.runtime.CucumberExecutionContext.lambda$runTestCase$3(CucumberExecutionContext.java:151) at io.cucumber.core.runtime.RethrowingThrowableCollector.executeAndThrow(RethrowingThrowableCollector.java:23) at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:151) at io.cucumber.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:106) at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:144) at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:28) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at io.cucumber.junit.FeatureRunner.run(FeatureRunner.java:137) at io.cucumber.junit.Cucumber.runChild(Cucumber.java:196) at io.cucumber.junit.Cucumber.runChild(Cucumber.java:89) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at io.cucumber.junit.Cucumber$RunBeforeAllHooks.evaluate(Cucumber.java:266) at io.cucumber.junit.Cucumber$RunAfterAllHooks.evaluate(Cucumber.java:281) at io.cucumber.junit.Cucumber$StartTestRun.evaluate(Cucumber.java:233) at io.cucumber.junit.Cucumber$FinishTestRun.evaluate(Cucumber.java:248) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69) at com.intellij.rt.junit.IdeaTestRunner$Repeater$1.execute(IdeaTestRunner.java:38) at com.intellij.rt.execution.junit.TestsRepeater.repeat(TestsRepeater.java:11) at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:35) at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:232) at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:55)
And
configuró una impresora
And
tocó la opción "Ventas" en el Menú de opciones
And
fue redirigido a la vista "Venta rápida"
When
elija cualquier producto de la categoria "Limpieza" y agregue cualquier cantidad del mismo
And
elija cualquier producto de la categoria "Sillas" y agregue cualquier cantidad del mismo
And
elija cualquier producto de la categoria "Platos para Mascotas" y agregue cualquier cantidad del mismo
And
agregue una promoción
And
termine de elegir sus productos
And
termine de realizar su pedido
And
elija Nota de Venta CDI, llene los campos obligatorios "Bryan", "479672860000000" y proceda a continuar
And
elija el método de pago en Efectivo
And
al procesarse el pago y el usuario "311224_vcia7@yopmail.com" toque la opción Nueva venta
Then
deberá ser redirigido a al Menú de opciones
org.openqa.selenium.WebDriverException: Connection refused: connect Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03' System info: host: 'NTTD-JFLJMN3', ip: '192.168.0.151', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '11.0.24' Driver info: driver.version: RemoteWebDriver at io.appium.java_client.remote.AppiumCommandExecutor.lambda$6(AppiumCommandExecutor.java:262) at java.base/java.util.Optional.orElseGet(Optional.java:369) at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:261) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:45) at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) at org.openqa.selenium.remote.RemoteWebDriver.getScreenshotAs(RemoteWebDriver.java:295) at com.nttdata.ct.mobile.service.stepdefinition.ManageScenario.printFullView(ManageScenario.java:27) at com.nttdata.ct.mobile.service.stepdefinition.ManageScenario.shotWhenFail(ManageScenario.java:33) at com.nttdata.ct.mobile.hooks.Hooks.tearDown(Hooks.java:38) Caused by: java.net.ConnectException: Connection refused: connect at java.base/java.net.PlainSocketImpl.waitForConnect(Native Method) at java.base/java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:107) at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:412) at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:255) at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:237) at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.base/java.net.Socket.connect(Socket.java:609) at okhttp3.internal.platform.Platform.connectSocket(Platform.java:129) at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:245) at okhttp3.internal.connection.RealConnection.connect(RealConnection.java:165) at okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:257) at okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:135) at okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:114) at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:126) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:200) at okhttp3.RealCall.execute(RealCall.java:77) at org.openqa.selenium.remote.internal.OkHttpClient.execute(OkHttpClient.java:103) at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:155) at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:250) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:45) at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) at org.openqa.selenium.remote.RemoteWebDriver.getScreenshotAs(RemoteWebDriver.java:295) at com.nttdata.ct.mobile.service.stepdefinition.ManageScenario.printFullView(ManageScenario.java:27) at com.nttdata.ct.mobile.service.stepdefinition.ManageScenario.shotWhenFail(ManageScenario.java:33) at com.nttdata.ct.mobile.hooks.Hooks.tearDown(Hooks.java:38) at jdk.internal.reflect.GeneratedMethodAccessor151.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at io.cucumber.java.Invoker.doInvoke(Invoker.java:66) at io.cucumber.java.Invoker.invoke(Invoker.java:24) at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47) at io.cucumber.java.JavaHookDefinition.execute(JavaHookDefinition.java:64) at io.cucumber.core.runner.CoreHookDefinition.execute(CoreHookDefinition.java:46) at io.cucumber.core.runner.HookDefinitionMatch.runStep(HookDefinitionMatch.java:21) at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10) at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:86) at io.cucumber.core.runner.TestStep.run(TestStep.java:57) at io.cucumber.core.runner.TestCase.run(TestCase.java:101) at io.cucumber.core.runner.Runner.runPickle(Runner.java:75) at io.cucumber.junit.PickleRunners$WithStepDescriptions.lambda$run$1(PickleRunners.java:109) at io.cucumber.core.runtime.CucumberExecutionContext.lambda$runTestCase$3(CucumberExecutionContext.java:151) at io.cucumber.core.runtime.RethrowingThrowableCollector.executeAndThrow(RethrowingThrowableCollector.java:23) at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:151) at io.cucumber.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:106) at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:144) at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:28) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at io.cucumber.junit.FeatureRunner.run(FeatureRunner.java:137) at io.cucumber.junit.Cucumber.runChild(Cucumber.java:196) at io.cucumber.junit.Cucumber.runChild(Cucumber.java:89) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at io.cucumber.junit.Cucumber$RunBeforeAllHooks.evaluate(Cucumber.java:266) at io.cucumber.junit.Cucumber$RunAfterAllHooks.evaluate(Cucumber.java:281) at io.cucumber.junit.Cucumber$StartTestRun.evaluate(Cucumber.java:233) at io.cucumber.junit.Cucumber$FinishTestRun.evaluate(Cucumber.java:248) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69) at com.intellij.rt.junit.IdeaTestRunner$Repeater$1.execute(IdeaTestRunner.java:38) at com.intellij.rt.execution.junit.TestsRepeater.repeat(TestsRepeater.java:11) at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:35) at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:232) at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:55)
org.openqa.selenium.WebDriverException: Connection refused: connect Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03' System info: host: 'NTTD-JFLJMN3', ip: '192.168.0.151', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '11.0.24' Driver info: driver.version: AndroidDriver at io.appium.java_client.remote.AppiumCommandExecutor.lambda$6(AppiumCommandExecutor.java:262) at java.base/java.util.Optional.orElseGet(Optional.java:369) at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:261) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:45) at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) at io.appium.java_client.screenrecording.CanRecordScreen.stopRecordingScreen(CanRecordScreen.java:72) at com.nttdata.ct.mobile.service.screenrecorder.ScreenRecorder.stopRecording(ScreenRecorder.java:60) at com.nttdata.ct.mobile.lib.MobileDriverManager.quitDriver(MobileDriverManager.java:122) at com.nttdata.ct.mobile.hooks.Hooks.afterScenario(Hooks.java:33) Caused by: java.net.ConnectException: Connection refused: connect at java.base/java.net.PlainSocketImpl.waitForConnect(Native Method) at java.base/java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:107) at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:412) at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:255) at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:237) at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.base/java.net.Socket.connect(Socket.java:609) at okhttp3.internal.platform.Platform.connectSocket(Platform.java:129) at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:245) at okhttp3.internal.connection.RealConnection.connect(RealConnection.java:165) at okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:257) at okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:135) at okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:114) at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:126) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:200) at okhttp3.RealCall.execute(RealCall.java:77) at org.openqa.selenium.remote.internal.OkHttpClient.execute(OkHttpClient.java:103) at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:155) at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:250) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:45) at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) at io.appium.java_client.screenrecording.CanRecordScreen.stopRecordingScreen(CanRecordScreen.java:72) at com.nttdata.ct.mobile.service.screenrecorder.ScreenRecorder.stopRecording(ScreenRecorder.java:60) at com.nttdata.ct.mobile.lib.MobileDriverManager.quitDriver(MobileDriverManager.java:122) at com.nttdata.ct.mobile.hooks.Hooks.afterScenario(Hooks.java:33) at jdk.internal.reflect.GeneratedMethodAccessor152.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at io.cucumber.java.Invoker.doInvoke(Invoker.java:66) at io.cucumber.java.Invoker.invoke(Invoker.java:24) at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47) at io.cucumber.java.JavaHookDefinition.execute(JavaHookDefinition.java:64) at io.cucumber.core.runner.CoreHookDefinition.execute(CoreHookDefinition.java:46) at io.cucumber.core.runner.HookDefinitionMatch.runStep(HookDefinitionMatch.java:21) at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10) at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:86) at io.cucumber.core.runner.TestStep.run(TestStep.java:57) at io.cucumber.core.runner.TestCase.run(TestCase.java:101) at io.cucumber.core.runner.Runner.runPickle(Runner.java:75) at io.cucumber.junit.PickleRunners$WithStepDescriptions.lambda$run$1(PickleRunners.java:109) at io.cucumber.core.runtime.CucumberExecutionContext.lambda$runTestCase$3(CucumberExecutionContext.java:151) at io.cucumber.core.runtime.RethrowingThrowableCollector.executeAndThrow(RethrowingThrowableCollector.java:23) at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:151) at io.cucumber.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:106) at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:144) at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:28) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at io.cucumber.junit.FeatureRunner.run(FeatureRunner.java:137) at io.cucumber.junit.Cucumber.runChild(Cucumber.java:196) at io.cucumber.junit.Cucumber.runChild(Cucumber.java:89) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at io.cucumber.junit.Cucumber$RunBeforeAllHooks.evaluate(Cucumber.java:266) at io.cucumber.junit.Cucumber$RunAfterAllHooks.evaluate(Cucumber.java:281) at io.cucumber.junit.Cucumber$StartTestRun.evaluate(Cucumber.java:233) at io.cucumber.junit.Cucumber$FinishTestRun.evaluate(Cucumber.java:248) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69) at com.intellij.rt.junit.IdeaTestRunner$Repeater$1.execute(IdeaTestRunner.java:38) at com.intellij.rt.execution.junit.TestsRepeater.repeat(TestsRepeater.java:11) at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:35) at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:232) at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:55)
@NBP-1482
@TEST_NBP-1436
@Automatizado
@2025Q1SP01
Scenario Outline: CP063 - Validar un flujo de Venta rápida con Plan Inicia, Nota de Venta Empresa y pago con Tarjeta
Before
Hook
Given
que el usuario inició sesión exitosamente con sus credenciales "311224_vcia7@yopmail.com" y "777777777@Aa" con perfil "Vendedor Comercio"
+ Show Error
org.openqa.selenium.WebDriverException: Connection refused: connect Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03' System info: host: 'NTTD-JFLJMN3', ip: '192.168.0.151', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '11.0.24' Driver info: driver.version: SetDriver at io.appium.java_client.remote.AppiumCommandExecutor.lambda$6(AppiumCommandExecutor.java:262) at java.base/java.util.Optional.orElseGet(Optional.java:369) at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:261) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:41) at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:213) at io.appium.java_client.AppiumDriver.startSession(AppiumDriver.java:363) at org.openqa.selenium.remote.RemoteWebDriver.(init)(RemoteWebDriver.java:131) at io.appium.java_client.DefaultGenericMobileDriver.(init)(DefaultGenericMobileDriver.java:37) at io.appium.java_client.AppiumDriver.(init)(AppiumDriver.java:89) at io.appium.java_client.AppiumDriver.(init)(AppiumDriver.java:99) at io.appium.java_client.android.AndroidDriver.(init)(AndroidDriver.java:97) at com.nttdata.ct.mobile.lib.SetDriver.configAndroidDriver(SetDriver.java:35) at com.nttdata.ct.mobile.lib.MobileDriverManager.setUpDriver(MobileDriverManager.java:50) at com.nttdata.ct.mobile.glue.LoginSD.queElUsuarioInicióSesiónExitosamenteConSusCredencialesYConPerfil(LoginSD.java:100) at ✽.que el usuario inició sesión exitosamente con sus credenciales "311224_vcia7@yopmail.com" y "777777777@Aa" con perfil "Vendedor Comercio"(file:///C:/Users/bfloresg/OneDrive%20-%20NTT%20DATA%20EMEAL/Documents/PROYECTOS/NIUBIZ/POS%20COMERCIO/vas-mobile-automation-testing/NIUBIZ_POINT_APP_COMERCIO_POS/src/test/resources/features/POS%20PAX-A920%20APP-COMERCIO.feature:853) Caused by: java.net.ConnectException: Connection refused: connect at java.base/java.net.PlainSocketImpl.waitForConnect(Native Method) at java.base/java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:107) at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:412) at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:255) at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:237) at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.base/java.net.Socket.connect(Socket.java:609) at okhttp3.internal.platform.Platform.connectSocket(Platform.java:129) at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:245) at okhttp3.internal.connection.RealConnection.connect(RealConnection.java:165) at okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:257) at okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:135) at okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:114) at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:126) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:200) at okhttp3.RealCall.execute(RealCall.java:77) at org.openqa.selenium.remote.internal.OkHttpClient.execute(OkHttpClient.java:103) at io.appium.java_client.remote.AppiumCommandExecutor.lambda$1(AppiumCommandExecutor.java:162) at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:105) at jdk.internal.reflect.GeneratedMethodAccessor139.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at io.appium.java_client.remote.AppiumCommandExecutor$1.createSession(AppiumCommandExecutor.java:193) at io.appium.java_client.remote.AppiumCommandExecutor.createSession(AppiumCommandExecutor.java:225) at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:250) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:41) at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:213) at io.appium.java_client.AppiumDriver.startSession(AppiumDriver.java:363) at org.openqa.selenium.remote.RemoteWebDriver.(init)(RemoteWebDriver.java:131) at io.appium.java_client.DefaultGenericMobileDriver.(init)(DefaultGenericMobileDriver.java:37) at io.appium.java_client.AppiumDriver.(init)(AppiumDriver.java:89) at io.appium.java_client.AppiumDriver.(init)(AppiumDriver.java:99) at io.appium.java_client.android.AndroidDriver.(init)(AndroidDriver.java:97) at com.nttdata.ct.mobile.lib.SetDriver.configAndroidDriver(SetDriver.java:35) at com.nttdata.ct.mobile.lib.MobileDriverManager.setUpDriver(MobileDriverManager.java:50) at com.nttdata.ct.mobile.glue.LoginSD.queElUsuarioInicióSesiónExitosamenteConSusCredencialesYConPerfil(LoginSD.java:100) at com.nttdata.ct.mobile.glue.LoginSD$$FastClassBySpringCGLIB$$7eb0c213.invoke((generated)) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:779) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:64) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:692) at com.nttdata.ct.mobile.glue.LoginSD$$EnhancerBySpringCGLIB$$719f4ed5.queElUsuarioInicióSesiónExitosamenteConSusCredencialesYConPerfil((generated)) at jdk.internal.reflect.GeneratedMethodAccessor156.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at io.cucumber.java.Invoker.doInvoke(Invoker.java:66) at io.cucumber.java.Invoker.invoke(Invoker.java:24) at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47) at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29) at io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66) at io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63) at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10) at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:86) at io.cucumber.core.runner.TestStep.run(TestStep.java:57) at io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51) at io.cucumber.core.runner.TestCase.run(TestCase.java:95) at io.cucumber.core.runner.Runner.runPickle(Runner.java:75) at io.cucumber.junit.PickleRunners$WithStepDescriptions.lambda$run$1(PickleRunners.java:109) at io.cucumber.core.runtime.CucumberExecutionContext.lambda$runTestCase$3(CucumberExecutionContext.java:151) at io.cucumber.core.runtime.RethrowingThrowableCollector.executeAndThrow(RethrowingThrowableCollector.java:23) at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:151) at io.cucumber.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:106) at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:144) at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:28) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at io.cucumber.junit.FeatureRunner.run(FeatureRunner.java:137) at io.cucumber.junit.Cucumber.runChild(Cucumber.java:196) at io.cucumber.junit.Cucumber.runChild(Cucumber.java:89) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at io.cucumber.junit.Cucumber$RunBeforeAllHooks.evaluate(Cucumber.java:266) at io.cucumber.junit.Cucumber$RunAfterAllHooks.evaluate(Cucumber.java:281) at io.cucumber.junit.Cucumber$StartTestRun.evaluate(Cucumber.java:233) at io.cucumber.junit.Cucumber$FinishTestRun.evaluate(Cucumber.java:248) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69) at com.intellij.rt.junit.IdeaTestRunner$Repeater$1.execute(IdeaTestRunner.java:38) at com.intellij.rt.execution.junit.TestsRepeater.repeat(TestsRepeater.java:11) at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:35) at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:232) at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:55)
And
configuró una impresora
And
tocó la opción "Ventas" en el Menú de opciones
And
fue redirigido a la vista "Venta rápida"
When
elija cualquier producto de la categoria "Limpieza" y agregue cualquier cantidad del mismo
And
elija cualquier producto de la categoria "Sillas" y agregue cualquier cantidad del mismo
And
elija cualquier producto de la categoria "Platos para Mascotas" y agregue cualquier cantidad del mismo
And
agregue una promoción
And
termine de elegir sus productos
And
termine de realizar su pedido
And
elija Nota de Venta Empresa, llene los campos obligatorios "20341198217" y proceda a continuar
And
elija el método de pago Tarjeta
And
al procesarse el pago y el usuario "311224_vcia7@yopmail.com" toque la opción Nueva venta
Then
deberá ser redirigido a al Menú de opciones
org.openqa.selenium.WebDriverException: Connection refused: connect Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03' System info: host: 'NTTD-JFLJMN3', ip: '192.168.0.151', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '11.0.24' Driver info: driver.version: RemoteWebDriver at io.appium.java_client.remote.AppiumCommandExecutor.lambda$6(AppiumCommandExecutor.java:262) at java.base/java.util.Optional.orElseGet(Optional.java:369) at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:261) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:45) at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) at org.openqa.selenium.remote.RemoteWebDriver.getScreenshotAs(RemoteWebDriver.java:295) at com.nttdata.ct.mobile.service.stepdefinition.ManageScenario.printFullView(ManageScenario.java:27) at com.nttdata.ct.mobile.service.stepdefinition.ManageScenario.shotWhenFail(ManageScenario.java:33) at com.nttdata.ct.mobile.hooks.Hooks.tearDown(Hooks.java:38) Caused by: java.net.ConnectException: Connection refused: connect at java.base/java.net.PlainSocketImpl.waitForConnect(Native Method) at java.base/java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:107) at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:412) at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:255) at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:237) at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.base/java.net.Socket.connect(Socket.java:609) at okhttp3.internal.platform.Platform.connectSocket(Platform.java:129) at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:245) at okhttp3.internal.connection.RealConnection.connect(RealConnection.java:165) at okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:257) at okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:135) at okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:114) at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:126) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:200) at okhttp3.RealCall.execute(RealCall.java:77) at org.openqa.selenium.remote.internal.OkHttpClient.execute(OkHttpClient.java:103) at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:155) at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:250) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:45) at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) at org.openqa.selenium.remote.RemoteWebDriver.getScreenshotAs(RemoteWebDriver.java:295) at com.nttdata.ct.mobile.service.stepdefinition.ManageScenario.printFullView(ManageScenario.java:27) at com.nttdata.ct.mobile.service.stepdefinition.ManageScenario.shotWhenFail(ManageScenario.java:33) at com.nttdata.ct.mobile.hooks.Hooks.tearDown(Hooks.java:38) at jdk.internal.reflect.GeneratedMethodAccessor151.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at io.cucumber.java.Invoker.doInvoke(Invoker.java:66) at io.cucumber.java.Invoker.invoke(Invoker.java:24) at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47) at io.cucumber.java.JavaHookDefinition.execute(JavaHookDefinition.java:64) at io.cucumber.core.runner.CoreHookDefinition.execute(CoreHookDefinition.java:46) at io.cucumber.core.runner.HookDefinitionMatch.runStep(HookDefinitionMatch.java:21) at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10) at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:86) at io.cucumber.core.runner.TestStep.run(TestStep.java:57) at io.cucumber.core.runner.TestCase.run(TestCase.java:101) at io.cucumber.core.runner.Runner.runPickle(Runner.java:75) at io.cucumber.junit.PickleRunners$WithStepDescriptions.lambda$run$1(PickleRunners.java:109) at io.cucumber.core.runtime.CucumberExecutionContext.lambda$runTestCase$3(CucumberExecutionContext.java:151) at io.cucumber.core.runtime.RethrowingThrowableCollector.executeAndThrow(RethrowingThrowableCollector.java:23) at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:151) at io.cucumber.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:106) at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:144) at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:28) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at io.cucumber.junit.FeatureRunner.run(FeatureRunner.java:137) at io.cucumber.junit.Cucumber.runChild(Cucumber.java:196) at io.cucumber.junit.Cucumber.runChild(Cucumber.java:89) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at io.cucumber.junit.Cucumber$RunBeforeAllHooks.evaluate(Cucumber.java:266) at io.cucumber.junit.Cucumber$RunAfterAllHooks.evaluate(Cucumber.java:281) at io.cucumber.junit.Cucumber$StartTestRun.evaluate(Cucumber.java:233) at io.cucumber.junit.Cucumber$FinishTestRun.evaluate(Cucumber.java:248) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69) at com.intellij.rt.junit.IdeaTestRunner$Repeater$1.execute(IdeaTestRunner.java:38) at com.intellij.rt.execution.junit.TestsRepeater.repeat(TestsRepeater.java:11) at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:35) at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:232) at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:55)
org.openqa.selenium.WebDriverException: Connection refused: connect Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03' System info: host: 'NTTD-JFLJMN3', ip: '192.168.0.151', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '11.0.24' Driver info: driver.version: AndroidDriver at io.appium.java_client.remote.AppiumCommandExecutor.lambda$6(AppiumCommandExecutor.java:262) at java.base/java.util.Optional.orElseGet(Optional.java:369) at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:261) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:45) at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) at io.appium.java_client.screenrecording.CanRecordScreen.stopRecordingScreen(CanRecordScreen.java:72) at com.nttdata.ct.mobile.service.screenrecorder.ScreenRecorder.stopRecording(ScreenRecorder.java:60) at com.nttdata.ct.mobile.lib.MobileDriverManager.quitDriver(MobileDriverManager.java:122) at com.nttdata.ct.mobile.hooks.Hooks.afterScenario(Hooks.java:33) Caused by: java.net.ConnectException: Connection refused: connect at java.base/java.net.PlainSocketImpl.waitForConnect(Native Method) at java.base/java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:107) at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:412) at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:255) at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:237) at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.base/java.net.Socket.connect(Socket.java:609) at okhttp3.internal.platform.Platform.connectSocket(Platform.java:129) at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:245) at okhttp3.internal.connection.RealConnection.connect(RealConnection.java:165) at okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:257) at okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:135) at okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:114) at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:126) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:200) at okhttp3.RealCall.execute(RealCall.java:77) at org.openqa.selenium.remote.internal.OkHttpClient.execute(OkHttpClient.java:103) at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:155) at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:250) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:45) at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) at io.appium.java_client.screenrecording.CanRecordScreen.stopRecordingScreen(CanRecordScreen.java:72) at com.nttdata.ct.mobile.service.screenrecorder.ScreenRecorder.stopRecording(ScreenRecorder.java:60) at com.nttdata.ct.mobile.lib.MobileDriverManager.quitDriver(MobileDriverManager.java:122) at com.nttdata.ct.mobile.hooks.Hooks.afterScenario(Hooks.java:33) at jdk.internal.reflect.GeneratedMethodAccessor152.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at io.cucumber.java.Invoker.doInvoke(Invoker.java:66) at io.cucumber.java.Invoker.invoke(Invoker.java:24) at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47) at io.cucumber.java.JavaHookDefinition.execute(JavaHookDefinition.java:64) at io.cucumber.core.runner.CoreHookDefinition.execute(CoreHookDefinition.java:46) at io.cucumber.core.runner.HookDefinitionMatch.runStep(HookDefinitionMatch.java:21) at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10) at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:86) at io.cucumber.core.runner.TestStep.run(TestStep.java:57) at io.cucumber.core.runner.TestCase.run(TestCase.java:101) at io.cucumber.core.runner.Runner.runPickle(Runner.java:75) at io.cucumber.junit.PickleRunners$WithStepDescriptions.lambda$run$1(PickleRunners.java:109) at io.cucumber.core.runtime.CucumberExecutionContext.lambda$runTestCase$3(CucumberExecutionContext.java:151) at io.cucumber.core.runtime.RethrowingThrowableCollector.executeAndThrow(RethrowingThrowableCollector.java:23) at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:151) at io.cucumber.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:106) at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:144) at io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:28) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at io.cucumber.junit.FeatureRunner.run(FeatureRunner.java:137) at io.cucumber.junit.Cucumber.runChild(Cucumber.java:196) at io.cucumber.junit.Cucumber.runChild(Cucumber.java:89) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at io.cucumber.junit.Cucumber$RunBeforeAllHooks.evaluate(Cucumber.java:266) at io.cucumber.junit.Cucumber$RunAfterAllHooks.evaluate(Cucumber.java:281) at io.cucumber.junit.Cucumber$StartTestRun.evaluate(Cucumber.java:233) at io.cucumber.junit.Cucumber$FinishTestRun.evaluate(Cucumber.java:248) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69) at com.intellij.rt.junit.IdeaTestRunner$Repeater$1.execute(IdeaTestRunner.java:38) at com.intellij.rt.execution.junit.TestsRepeater.repeat(TestsRepeater.java:11) at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:35) at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:232) at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:55)